From 7b20346d5b5ab519567ab11e22f11e25f255b753 Mon Sep 17 00:00:00 2001 From: jihoonl Date: Wed, 24 Jun 2009 04:25:13 +0000 Subject: [PATCH] working version --- .../Benchmarks/SingleTM/Labyrinth/Grid.java | 27 +- .../SingleTM/Labyrinth/Labyrinth.java | 14 +- .../SingleTM/Labyrinth/List_Iter.java | 1 + .../Benchmarks/SingleTM/Labyrinth/Maze.java | 27 +- .../SingleTM/Labyrinth/Queue_t.java | 324 ++++++++++++++++++ .../Benchmarks/SingleTM/Labyrinth/Router.java | 46 ++- .../Benchmarks/SingleTM/Labyrinth/makefile | 2 +- 7 files changed, 409 insertions(+), 32 deletions(-) create mode 100644 Robust/src/Benchmarks/SingleTM/Labyrinth/Queue_t.java diff --git a/Robust/src/Benchmarks/SingleTM/Labyrinth/Grid.java b/Robust/src/Benchmarks/SingleTM/Labyrinth/Grid.java index 35805579..58345622 100644 --- a/Robust/src/Benchmarks/SingleTM/Labyrinth/Grid.java +++ b/Robust/src/Benchmarks/SingleTM/Labyrinth/Grid.java @@ -108,7 +108,7 @@ public class Grid { int[][] points_unaligned = new int[size][1]; grid.points_unaligned = points_unaligned; - grid.points_index = CACHE_LINE_SIZE; // not sure it is right.. + grid.points_index = CACHE_LINE_SIZE-2; // not sure it is right.. for(int i=grid.points_index;i tmp${MAINCLASS}.java -- 2.34.1