IRC.git
14 years agooptimize dispatch a little more
bdemsky [Tue, 26 Oct 2010 06:53:10 +0000 (06:53 +0000)]
optimize dispatch a little more

14 years agoChanges... small fix to jim's bugfix...touching our record after we free it is also...
bdemsky [Tue, 26 Oct 2010 01:48:55 +0000 (01:48 +0000)]
Changes...  small fix to jim's bugfix...touching our record after we free it is also bad...

poolalloc the rentry's...avoid running out of memory...looks like speed gains for micro also...

eliminate parentsemaphore...just use the thread local semaphore...needed to simplify freeing rentry records

14 years agofixed nasty bug, decrementing parents num running children used to be last, but new...
jjenista [Tue, 26 Oct 2010 00:59:27 +0000 (00:59 +0000)]
fixed nasty bug, decrementing parents num running children used to be last, but new code has creeped up afte rit, move this down to the very last thing done before exiting

14 years agoFixed issue where multi-dimentional primative arrays were treated as primitives....
stephey [Tue, 26 Oct 2010 00:39:34 +0000 (00:39 +0000)]
Fixed issue where multi-dimentional primative arrays were treated as primitives. Now labyrinth benchmark works

14 years agobug fix: RCR sets its proper conflict type.
yeom [Tue, 26 Oct 2010 00:14:31 +0000 (00:14 +0000)]
bug fix: RCR sets its proper conflict type.

14 years agomake sure that every benchmark of oooJava takes the largest input size by default
yeom [Mon, 25 Oct 2010 23:56:16 +0000 (23:56 +0000)]
make sure that every benchmark of oooJava takes the largest input size by default

14 years agocorrect input data for barneshut
yeom [Mon, 25 Oct 2010 23:38:53 +0000 (23:38 +0000)]
correct input data for barneshut

14 years agoOOO and RCR are speparate targets in the master makefile, added runp scripts for...
jjenista [Mon, 25 Oct 2010 23:28:26 +0000 (23:28 +0000)]
OOO and RCR are speparate targets in the master makefile, added runp scripts for all benchmarks, time command included in runp's

14 years agofix bug w/ recycling + RCR
bdemsky [Mon, 25 Oct 2010 23:26:36 +0000 (23:26 +0000)]
fix bug w/ recycling + RCR

14 years agosupport for RCR and task record pool allocation
jjenista [Mon, 25 Oct 2010 23:20:53 +0000 (23:20 +0000)]
support for RCR and task record pool allocation

14 years agothis is a BUG, don't dereference the object pointer, blargh
jjenista [Mon, 25 Oct 2010 23:14:09 +0000 (23:14 +0000)]
this is a BUG, don't dereference the object pointer, blargh

14 years agoHack the compiler to support 'abstract' keyword for mgc version. Abstract classes...
jzhou [Mon, 25 Oct 2010 22:49:57 +0000 (22:49 +0000)]
Hack the compiler to support 'abstract' keyword for mgc version. Abstract classes/methods can be compiled but fully semantic check is not supported. Now we generate an empty method for each declared abstract method and do not check if the subclasses have implemented their inheried abstract methods.

14 years agoAdded necessary variable initializations
stephey [Mon, 25 Oct 2010 22:13:30 +0000 (22:13 +0000)]
Added necessary variable initializations

14 years agochanges: handle correctly the case when a coarse grain conflict is associated with...
yeom [Mon, 25 Oct 2010 22:04:28 +0000 (22:04 +0000)]
changes: handle correctly the case when a coarse grain conflict is associated with effects on different allocation sites.

14 years agomake the traversers do something
bdemsky [Mon, 25 Oct 2010 20:54:53 +0000 (20:54 +0000)]
make the traversers do something

14 years agoChanging OoOJava work scheduler to true work stealing, garbage collection can walk...
jjenista [Mon, 25 Oct 2010 20:09:31 +0000 (20:09 +0000)]
Changing OoOJava work scheduler to true work stealing, garbage collection can walk the deques used, changes to build code and workschedule are awesome because work stealing threads exit gracefully when system is out of work

14 years agoadded a debug option for deque
jjenista [Mon, 25 Oct 2010 20:05:39 +0000 (20:05 +0000)]
added a debug option for deque

14 years agobug fix in identifying leaf tasks
jjenista [Mon, 25 Oct 2010 18:58:03 +0000 (18:58 +0000)]
bug fix in identifying leaf tasks

14 years agoChanged method for marking possible resume cases. Now it only considers read conflicts.
stephey [Mon, 25 Oct 2010 08:32:27 +0000 (08:32 +0000)]
Changed method for marking possible resume cases. Now it only considers read conflicts.

14 years agoImproved heuristics for marking where resume cases are possible. Instead marking...
stephey [Mon, 25 Oct 2010 08:08:35 +0000 (08:08 +0000)]
Improved heuristics for marking where resume cases are possible. Instead marking every conflict as a possible resume case, it now only marks cases where there is a read conflict (which implies that there is a write somewhere else) or where there is an ancestor read conflict and a current conflict.

14 years agochanges
bdemsky [Mon, 25 Oct 2010 01:56:39 +0000 (01:56 +0000)]
changes

14 years agocleaned up some old code and comments
stephey [Sun, 24 Oct 2010 12:44:31 +0000 (12:44 +0000)]
cleaned up some old code and comments

14 years agobug fixes
bdemsky [Sun, 24 Oct 2010 08:56:28 +0000 (08:56 +0000)]
bug fixes

14 years agochanges...handle races between coarse and fine grained conflict resolution
bdemsky [Sun, 24 Oct 2010 08:36:22 +0000 (08:36 +0000)]
changes...handle races between coarse and fine grained conflict resolution

14 years ago+Made arrays inlineable
stephey [Sun, 24 Oct 2010 04:11:15 +0000 (04:11 +0000)]
+Made arrays inlineable
+Fields with multiple allocation sites are now handled with a switch statement.

14 years agoFixed bug (for reals this time) where there will be multiple traversals on the same...
stephey [Sat, 23 Oct 2010 23:03:37 +0000 (23:03 +0000)]
Fixed bug (for reals this time) where there will be multiple traversals on the same field. Turns out the .equals for ConcreteRuntimeObjNode was done incorrectly.

Working on next task:
+using switch statements for checking fields.
+Treating arrays the same as any field (inlinable)

14 years agoFixed bug where one edge is traversed multiple times even if it's the same allocsite...
stephey [Sat, 23 Oct 2010 22:09:50 +0000 (22:09 +0000)]
Fixed bug where one edge is traversed multiple times even if it's the same allocsite. Turns out, the .equals in allocsite did not compare their ID's.

Changes:

14 years agofixes to case in Test/rcr. Now the program seems to get stuck at sched_yield() which...
stephey [Sat, 23 Oct 2010 20:21:38 +0000 (20:21 +0000)]
fixes to case in Test/rcr. Now the program seems to get stuck at sched_yield() which I believe is not a component of RCR

14 years agoanother bad case
bdemsky [Sat, 23 Oct 2010 08:41:28 +0000 (08:41 +0000)]
another bad case

14 years agochanges
bdemsky [Sat, 23 Oct 2010 08:30:19 +0000 (08:30 +0000)]
changes

14 years agoanother bug fix
bdemsky [Sat, 23 Oct 2010 01:42:16 +0000 (01:42 +0000)]
another bug fix

14 years agochanges
bdemsky [Sat, 23 Oct 2010 01:39:33 +0000 (01:39 +0000)]
changes

14 years agoDisable static related code generation for Java version
jzhou [Fri, 22 Oct 2010 23:11:17 +0000 (23:11 +0000)]
Disable static related code generation for Java version

14 years agobug
bdemsky [Fri, 22 Oct 2010 22:30:38 +0000 (22:30 +0000)]
bug

14 years agochanges
bdemsky [Fri, 22 Oct 2010 22:27:47 +0000 (22:27 +0000)]
changes

14 years agomore core...fix traversers...
bdemsky [Fri, 22 Oct 2010 21:02:40 +0000 (21:02 +0000)]
more core...fix traversers...

14 years agostill some bugs...but stall site code generation is in
bdemsky [Fri, 22 Oct 2010 08:18:56 +0000 (08:18 +0000)]
still some bugs...but stall site code generation is in

14 years agochanges towards rcr working...
bdemsky [Fri, 22 Oct 2010 04:50:57 +0000 (04:50 +0000)]
changes towards rcr working...
comment out jin's checkin...it breaks code generation in x86...

14 years agoAdd Class object so that we can implement getClass() and can have class lock for...
jzhou [Fri, 22 Oct 2010 00:59:35 +0000 (00:59 +0000)]
Add Class object so that we can implement getClass() and can have class lock for synchronized blocks

14 years agoimplemented deque for work stealing
jjenista [Thu, 21 Oct 2010 23:24:47 +0000 (23:24 +0000)]
implemented deque for work stealing

14 years agoSmall bug fix for multicore gc w/o tasks
jzhou [Thu, 21 Oct 2010 18:27:54 +0000 (18:27 +0000)]
Small bug fix for multicore gc w/o tasks

14 years agomore changes....much is still missing
bdemsky [Thu, 21 Oct 2010 09:40:29 +0000 (09:40 +0000)]
more changes....much is still missing

14 years agochanges
bdemsky [Thu, 21 Oct 2010 05:00:18 +0000 (05:00 +0000)]
changes

14 years agochanges
bdemsky [Thu, 21 Oct 2010 04:39:03 +0000 (04:39 +0000)]
changes

14 years agosimple changes:
yeom [Thu, 21 Oct 2010 02:45:19 +0000 (02:45 +0000)]
simple changes:
if there are more than one coarse conflicts for the same queue and the same sese, one coarse waiting element, which is actually enqueued into the memory queue, maintains a set of tempDesc containing all of the coarse tempDescriptors.

have not yet modified BuildCode.

14 years agoImplement a more sorphisticated execution strategy for static blocks. Tested with...
jzhou [Thu, 21 Oct 2010 00:21:06 +0000 (00:21 +0000)]
Implement a more sorphisticated execution strategy for static blocks. Tested with very simple example code.  Static field initialization is not implemented yet.

14 years agochanges
bdemsky [Wed, 20 Oct 2010 23:53:27 +0000 (23:53 +0000)]
changes

14 years agochanges. assign tempDescriptor to coarse waiting element
yeom [Wed, 20 Oct 2010 23:15:31 +0000 (23:15 +0000)]
changes. assign tempDescriptor to coarse waiting element

14 years agochanges
bdemsky [Wed, 20 Oct 2010 23:15:30 +0000 (23:15 +0000)]
changes

14 years agomore changes for RCR
yeom [Wed, 20 Oct 2010 17:41:16 +0000 (17:41 +0000)]
more changes for RCR

14 years agoremove unnecessary conflict type and assign coarse conflict by default.
yeom [Wed, 20 Oct 2010 17:29:24 +0000 (17:29 +0000)]
remove unnecessary conflict type and assign coarse conflict by default.

14 years agoAdded allocsite check for array elements before inserting into visitedhash.
stephey [Wed, 20 Oct 2010 08:39:31 +0000 (08:39 +0000)]
Added allocsite check for array elements before inserting into visitedhash.

14 years agochange
bdemsky [Wed, 20 Oct 2010 08:02:48 +0000 (08:02 +0000)]
change

14 years agomore changes...RCR wasn't usable until it was too late...
bdemsky [Wed, 20 Oct 2010 07:49:03 +0000 (07:49 +0000)]
more changes...RCR wasn't usable until it was too late...

14 years agomore changes
bdemsky [Wed, 20 Oct 2010 00:34:25 +0000 (00:34 +0000)]
more changes

14 years agomore work towards working version
bdemsky [Wed, 20 Oct 2010 00:07:43 +0000 (00:07 +0000)]
more work towards working version

14 years agochanges
bdemsky [Tue, 19 Oct 2010 21:33:43 +0000 (21:33 +0000)]
changes

14 years agoAdded support for adding array elements into the hash/queue. Appears to support multi...
stephey [Tue, 19 Oct 2010 10:53:12 +0000 (10:53 +0000)]
Added support for adding array elements into the hash/queue. Appears to support multidimensional arrays as well.

14 years agolet the prefetch go through a register instead...
bdemsky [Tue, 19 Oct 2010 05:14:46 +0000 (05:14 +0000)]
let the prefetch go through a register instead...

14 years agochanges
bdemsky [Tue, 19 Oct 2010 02:43:26 +0000 (02:43 +0000)]
changes

14 years agoswitch to a thread local stall sem for parent to give to children, tinker with prefet...
jjenista [Tue, 19 Oct 2010 00:04:52 +0000 (00:04 +0000)]
switch to a thread local stall sem for parent to give to children, tinker with prefetch in pool alloc, tinker with safe and fast garbage collection at scheduler level

14 years agoAdd support for 'static' fields in multicore gc version w/o tasks. Now we can have...
jzhou [Tue, 19 Oct 2010 00:01:31 +0000 (00:01 +0000)]
Add support for 'static' fields in multicore gc version w/o tasks. Now we can have static fields and access static fields/methods with Class name. Static blocks are also supported but with very simple invocation solution. All the static blocks are executed right before executing the main method and are executed in random order. The initialization for the static field is not supported yet.

14 years agoAdded support for tracking which ConcreteRuntimeObjNodes can be Arrays and which...
stephey [Mon, 18 Oct 2010 09:34:14 +0000 (09:34 +0000)]
Added support for tracking which ConcreteRuntimeObjNodes can be Arrays and which can be array elements. Array elements get their own case statement since if we add the entire array into the queue, then it's probably better to let the switch statement handle what to do with objects from a specific allocation site.

I had more code written, but apparently my workspace was not up to date. The changes I made need changes, so I omitted them. It's okay since I need to ask Yonghun/Jim about arrays on the C-side anyway.

14 years agomore changes towards oooJava version 2
bdemsky [Mon, 18 Oct 2010 07:34:12 +0000 (07:34 +0000)]
more changes towards oooJava version 2

14 years agochanges to buildscript
bdemsky [Mon, 18 Oct 2010 06:49:23 +0000 (06:49 +0000)]
changes to buildscript

14 years agomore changes towards new version of oooJava
bdemsky [Mon, 18 Oct 2010 06:48:46 +0000 (06:48 +0000)]
more changes towards new version of oooJava

14 years agochanges
bdemsky [Mon, 18 Oct 2010 03:59:39 +0000 (03:59 +0000)]
changes

14 years agocompute average processor ticks per event in parsed output
jjenista [Fri, 15 Oct 2010 21:34:44 +0000 (21:34 +0000)]
compute average processor ticks per event in parsed output

14 years agoTweaks to microbenchmarks, one stall semaphore per thread changes have been backed...
jjenista [Fri, 15 Oct 2010 21:34:12 +0000 (21:34 +0000)]
Tweaks to microbenchmarks, one stall semaphore per thread changes have been backed out while exploring micro benchmark issues

14 years agoAdd process of global thread queue in gc, not tested yet
jzhou [Thu, 14 Oct 2010 22:16:44 +0000 (22:16 +0000)]
Add process of global thread queue in gc, not tested yet

14 years agomicro benchmarks for OoOJava task dispatch improvement, but behavior or ooo version...
jjenista [Thu, 14 Oct 2010 21:48:30 +0000 (21:48 +0000)]
micro benchmarks for OoOJava task dispatch improvement, but behavior or ooo version just looks wrong...

14 years agoAdd test for reentrant feature of the synchronized blocks
jzhou [Thu, 14 Oct 2010 18:06:29 +0000 (18:06 +0000)]
Add test for reentrant feature of the synchronized blocks

14 years agoAdd Test for multicore gc version w/o tasks
jzhou [Thu, 14 Oct 2010 17:59:34 +0000 (17:59 +0000)]
Add Test for multicore gc version w/o tasks

14 years agoSynchronized block is now working. A simple test is passed.
jzhou [Thu, 14 Oct 2010 17:51:15 +0000 (17:51 +0000)]
Synchronized block is now working.  A simple test is passed.

14 years agoname pool alloc, useful for seeing its effective reduction of mallocs
jjenista [Thu, 14 Oct 2010 17:49:16 +0000 (17:49 +0000)]
name pool alloc, useful for seeing its effective reduction of mallocs

14 years agocoreprof updates, nothing huge
jjenista [Thu, 14 Oct 2010 17:48:32 +0000 (17:48 +0000)]
coreprof updates, nothing huge

14 years agohash of OIDs should not bit shift
jjenista [Thu, 14 Oct 2010 17:47:51 +0000 (17:47 +0000)]
hash of OIDs should not bit shift

14 years agoFix bug in termination of the multicore gc version w/o tasks
jzhou [Thu, 14 Oct 2010 16:54:08 +0000 (16:54 +0000)]
Fix bug in termination of the multicore gc version w/o tasks

14 years agoAdd the runtime for multicore gc version w/o tasks. Now can start multiple threads...
jzhou [Thu, 14 Oct 2010 01:09:55 +0000 (01:09 +0000)]
Add the runtime for multicore gc version w/o tasks. Now can start multiple threads on Tilera. But still have some problem with the termination schem. Syncronized block is not test yet.

14 years agobug fixes for oooJava, some debug events for coreprof for exploring things not worth...
jjenista [Wed, 13 Oct 2010 23:16:56 +0000 (23:16 +0000)]
bug fixes for oooJava, some debug events for coreprof for exploring things not worth keeping

14 years agojust a convenient script to repeat the official problem size
jjenista [Wed, 13 Oct 2010 23:15:38 +0000 (23:15 +0000)]
just a convenient script to repeat the official problem size

14 years agoadded prefetch when grabbing a record for next one, and fixed a malloc to RUNMALLOC
jjenista [Wed, 13 Oct 2010 23:15:00 +0000 (23:15 +0000)]
added prefetch when grabbing a record for next one, and fixed a malloc to RUNMALLOC

14 years agoupdates for some convenient debug events and a covnert to txt mode
jjenista [Wed, 13 Oct 2010 23:07:35 +0000 (23:07 +0000)]
updates for some convenient debug events and a covnert to txt mode

14 years agochanges...plus a little optimization
bdemsky [Wed, 13 Oct 2010 21:35:18 +0000 (21:35 +0000)]
changes...plus a little optimization

14 years agoa new buildscript option to save teh source code in tmp.c after preprocessor is done...
jjenista [Wed, 13 Oct 2010 18:56:06 +0000 (18:56 +0000)]
a new buildscript option to save teh source code in tmp.c after preprocessor is done iwht it

14 years agochanges
bdemsky [Wed, 13 Oct 2010 03:33:47 +0000 (03:33 +0000)]
changes

14 years agoChanges to accommodate the runtime for multicore gc w/o tasks
jzhou [Wed, 13 Oct 2010 00:17:52 +0000 (00:17 +0000)]
Changes to accommodate the runtime for multicore gc w/o tasks

14 years agomore code towards working...it actually compiles now...doesn't work of course yet
bdemsky [Tue, 12 Oct 2010 23:27:14 +0000 (23:27 +0000)]
more code towards working...it actually compiles now...doesn't work of course yet

14 years agoadd test script for raytracer
yeom [Tue, 12 Oct 2010 23:02:20 +0000 (23:02 +0000)]
add test script for raytracer

14 years agook, this is a wacky commit, purposefully leaving a half-implemented forward Q change...
jjenista [Tue, 12 Oct 2010 22:22:30 +0000 (22:22 +0000)]
ok, this is a wacky commit, purposefully leaving a half-implemented forward Q change in, but benign, because pool allocation by itslef might have fixed ray tracer up very nicely, but gotta check it out first

14 years agomore changes
bdemsky [Tue, 12 Oct 2010 22:06:24 +0000 (22:06 +0000)]
more changes

14 years agoa hack to enable when adding new language features to our compiler
jjenista [Tue, 12 Oct 2010 17:57:17 +0000 (17:57 +0000)]
a hack to enable when adding new language features to our compiler

14 years agobug fix
jjenista [Tue, 12 Oct 2010 17:07:32 +0000 (17:07 +0000)]
bug fix

14 years agotowards getting the compiler to run
bdemsky [Tue, 12 Oct 2010 00:23:59 +0000 (00:23 +0000)]
towards getting the compiler to run

14 years agochanges
bdemsky [Mon, 11 Oct 2010 19:45:48 +0000 (19:45 +0000)]
changes

14 years agotwo methods for generating a reach graph at any desired program point, one is a dummy...
jjenista [Mon, 11 Oct 2010 19:11:16 +0000 (19:11 +0000)]
two methods for generating a reach graph at any desired program point, one is a dummy System method, the other is a dummy FlatNode, turns out dummy FlatNode works fine except that joptimize will optimize it out, could fix that later but its still useful for debugging

14 years agoan example showing empty reach state propagation that we considered for CC submission...
jjenista [Mon, 11 Oct 2010 19:09:04 +0000 (19:09 +0000)]
an example showing empty reach state propagation that we considered for CC submission, and an example of generating reach graphs at a desired program point

14 years agoWe modify benchmarks to run the suite in different ways, just modularized the hefty...
jjenista [Mon, 11 Oct 2010 18:55:27 +0000 (18:55 +0000)]
We modify benchmarks to run the suite in different ways, just modularized the hefty part and only leave source file macros in the local makefiles, should save time and prevent errors when running for paper results

14 years agoAdded rough draft of how a remove from the hashStructure should work. Added method...
stephey [Mon, 11 Oct 2010 09:18:01 +0000 (09:18 +0000)]
Added rough draft of how a remove from the hashStructure should work. Added method signature into the header file.

The remove method needs insight on how to remove read bins. Details are in the comments.

14 years agotest case for rcr
bdemsky [Mon, 11 Oct 2010 07:59:25 +0000 (07:59 +0000)]
test case for rcr