equal
deleted
inserted
replaced
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; |