equal
deleted
inserted
replaced
34 #include "utilities/globalDefinitions.hpp" |
34 #include "utilities/globalDefinitions.hpp" |
35 #include "utilities/ostream.hpp" |
35 #include "utilities/ostream.hpp" |
36 #include "utilities/resourceHash.hpp" |
36 #include "utilities/resourceHash.hpp" |
37 #include "utilities/vmError.hpp" |
37 #include "utilities/vmError.hpp" |
38 |
38 |
39 Monitor* ThreadsSMRSupport::_delete_lock = |
|
40 new Monitor(Monitor::special, "Thread_SMR_delete_lock", |
|
41 false /* allow_vm_block */, |
|
42 Monitor::_safepoint_check_never); |
|
43 // The '_cnt', '_max' and '_times" fields are enabled via |
39 // The '_cnt', '_max' and '_times" fields are enabled via |
44 // -XX:+EnableThreadSMRStatistics: |
40 // -XX:+EnableThreadSMRStatistics: |
45 |
41 |
46 // # of parallel threads in _delete_lock->wait(). |
42 // # of parallel threads in _delete_lock->wait(). |
47 // Impl note: Hard to imagine > 64K waiting threads so this could be 16-bit, |
43 // Impl note: Hard to imagine > 64K waiting threads so this could be 16-bit, |