Branch: refs/heads/master Home: http://github.com/penberg/jato
Commit: 5aa825f64e76c219584ae46776000327d9d9e73b http://github.com/penberg/jato/commit/5aa825f64e76c219584ae46776000327d9d9e73b Author: Pekka Enberg <penb...@cs.helsinki.fi> Date: 2009-09-07 (Mon, 07 Sep 2009) Changed paths: M include/vm/thread.h M vm/thread.c Log Message: ----------- vm: Introduce vm_nr_threads_running() We need to keep track of running threads when stopping the world. This means that we must exclude threads that are waiting on monitor. This patch introduces a vm_nr_threads_running() that will be used in vm/gc.c. Acked-by: Tomek Grabiec <tgrab...@gmail.com> Cc: Vegard Nossum <vegard.nos...@gmail.com> Signed-off-by: Pekka Enberg <penb...@cs.helsinki.fi> Commit: 217e6c50da947eaa3d91d6e917e46164ab1e1b6c http://github.com/penberg/jato/commit/217e6c50da947eaa3d91d6e917e46164ab1e1b6c Author: Pekka Enberg <penb...@cs.helsinki.fi> Date: 2009-09-07 (Mon, 07 Sep 2009) Changed paths: M vm/gc.c Log Message: ----------- gc: Fix safepoints when gc_start() is called from object allocator This fixes various of deadlocks and race conditions in gc_start() when called from object allocator: (1) Don't deadlock during early bootstrap when there are no running threads. (2) Use vm_nr_threads_running() that accurately keeps track of running threads so that we don't deadlock on a thread that waits on a monitor. (3) Make gc_start() re-entrant while waiting for threads to arrive at a safepoint by turning gc_start() into a safepoint. (4) Make sure all threads exit their safepoint before letting a thread stop the world. Cc: Vegard Nossum <vegard.nos...@gmail.com> Signed-off-by: Pekka Enberg <penb...@cs.helsinki.fi> Commit: a6394167be4af9056572a309e5c8c0cb41f8a85b http://github.com/penberg/jato/commit/a6394167be4af9056572a309e5c8c0cb41f8a85b Author: Pekka Enberg <penb...@cs.helsinki.fi> Date: 2009-09-07 (Mon, 07 Sep 2009) Changed paths: M include/vm/gc.h M test/vm/gc-stub.c M vm/gc.c M vm/object.c Log Message: ----------- gc: Introduce gc_malloc() entry-point This patch introduces a gc_malloc() entry point. It's a simple wrapper on top of kzalloc() for now. Cc: Vegard Nossum <vegard.nos...@gmail.com> Signed-off-by: Pekka Enberg <penb...@cs.helsinki.fi> Commit: ff7e6433ae1119c0235d4e5cc8269835f19707f9 http://github.com/penberg/jato/commit/ff7e6433ae1119c0235d4e5cc8269835f19707f9 Author: Pekka Enberg <penb...@cs.helsinki.fi> Date: 2009-09-07 (Mon, 07 Sep 2009) Changed paths: M include/vm/gc.h M vm/gc.c M vm/jato.c Log Message: ----------- vm: Introduce -verbose:gc command line option Cc: Vegard Nossum <vegard.nos...@gmail.com> Signed-off-by: Pekka Enberg <penb...@cs.helsinki.fi> Commit: 5f764cf8627e75e729dc9af5ece88e06ebaa3719 http://github.com/penberg/jato/commit/5f764cf8627e75e729dc9af5ece88e06ebaa3719 Author: Pekka Enberg <penb...@cs.helsinki.fi> Date: 2009-09-07 (Mon, 07 Sep 2009) Changed paths: M include/vm/gc.h M vm/gc.c M vm/jato.c Log Message: ----------- vm: Introduce -Xgc command line option This patch adds a "-Xgc" command line option that enables the work-in-progress GC infrastructure. Cc: Vegard Nossum <vegard.nos...@gmail.com> Signed-off-by: Pekka Enberg <penb...@cs.helsinki.fi> ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Jatovm-devel mailing list Jatovm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jatovm-devel