src/hotspot/share/gc/shared/strongRootsScope.cpp
changeset 50445 bd6b78feb6a3
parent 47216 71c04702a3d5
child 54385 9559ba212c18
equal deleted inserted replaced
50444:db65921e9a9b 50445:bd6b78feb6a3
    36   nmethod::oops_do_marking_epilogue();
    36   nmethod::oops_do_marking_epilogue();
    37 }
    37 }
    38 
    38 
    39 StrongRootsScope::StrongRootsScope(uint n_threads) : _n_threads(n_threads) {
    39 StrongRootsScope::StrongRootsScope(uint n_threads) : _n_threads(n_threads) {
    40   Threads::change_thread_claim_parity();
    40   Threads::change_thread_claim_parity();
    41   // Zero the claimed high water mark in the StringTable
       
    42   StringTable::clear_parallel_claimed_index();
       
    43 }
    41 }
    44 
    42 
    45 StrongRootsScope::~StrongRootsScope() {
    43 StrongRootsScope::~StrongRootsScope() {
    46   Threads::assert_all_threads_claimed();
    44   Threads::assert_all_threads_claimed();
    47 }
    45 }