src/hotspot/share/runtime/threadSMR.cpp
changeset 52448 bc5c7f63dbae
parent 52341 2b58b8e1d28f
child 52452 3315e47741c7
equal deleted inserted replaced
52447:4547f8303f2d 52448:bc5c7f63dbae
    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,