comparison src/share/vm/prims/jni.cpp @ 1681:126ea7725993

6953477: Increase portability and flexibility of building Hotspot Summary: A collection of portability improvements including shared code support for PPC, ARM platforms, software floating point, cross compilation support and improvements in error crash detail. Reviewed-by: phh, never, coleenp, dholmes
author bobv
date Tue, 03 Aug 2010 08:13:38 -0400
parents c18cbe5936b8
children 2d26b0046e0d f95d63e2154a
comparison
equal deleted inserted replaced
1680:a64438a2b7e8 1681:126ea7725993
3412 // Enable stack overflow checks 3412 // Enable stack overflow checks
3413 thread->create_stack_guard_pages(); 3413 thread->create_stack_guard_pages();
3414 3414
3415 thread->initialize_tlab(); 3415 thread->initialize_tlab();
3416 3416
3417 thread->cache_global_variables();
3418
3417 // Crucial that we do not have a safepoint check for this thread, since it has 3419 // Crucial that we do not have a safepoint check for this thread, since it has
3418 // not been added to the Thread list yet. 3420 // not been added to the Thread list yet.
3419 { Threads_lock->lock_without_safepoint_check(); 3421 { Threads_lock->lock_without_safepoint_check();
3420 // This must be inside this lock in order to get FullGCALot to work properly, i.e., to 3422 // This must be inside this lock in order to get FullGCALot to work properly, i.e., to
3421 // avoid this thread trying to do a GC before it is added to the thread-list 3423 // avoid this thread trying to do a GC before it is added to the thread-list