comparison src/share/vm/memory/gcLocker.hpp @ 4944:09d00c18e323

7145537: minor tweaks to LogEvents Reviewed-by: kvn, twisti
author never
date Wed, 15 Feb 2012 10:12:55 -0800
parents 0382d2b469b2
children ad3b47344802
comparison
equal deleted inserted replaced
4943:80107dc493db 4944:09d00c18e323
60 60
61 static volatile jint _lock_count; // number of other active instances 61 static volatile jint _lock_count; // number of other active instances
62 static volatile bool _needs_gc; // heap is filling, we need a GC 62 static volatile bool _needs_gc; // heap is filling, we need a GC
63 // note: bool is typedef'd as jint 63 // note: bool is typedef'd as jint
64 static volatile bool _doing_gc; // unlock_critical() is doing a GC 64 static volatile bool _doing_gc; // unlock_critical() is doing a GC
65
66 static jlong _wait_begin; // Timestamp for the setting of _needs_gc.
67 // Used only by printing code.
68 65
69 #ifdef ASSERT 66 #ifdef ASSERT
70 // This lock count is updated for all operations and is used to 67 // This lock count is updated for all operations and is used to
71 // validate the jni_lock_count that is computed during safepoints. 68 // validate the jni_lock_count that is computed during safepoints.
72 static volatile jint _debug_jni_lock_count; 69 static volatile jint _debug_jni_lock_count;