RFR: 8282900: runtime/stringtable/StringTableCleaningTest.java verify unavailable at this moment [v2]

Robbin Ehn rehn at openjdk.org
Wed Oct 5 06:07:32 UTC 2022


On Wed, 5 Oct 2022 01:43:00 GMT, David Holmes <dholmes at openjdk.org> wrote:

> Can you answer this query? Thanks

I thought did with:
> The exact code would in "StringTable::grow(...)" when calling "gt.pause(jt)".


  // Pauses for safepoint
  void pause(Thread* thread) {
    // This leaves internal state locked.
    this->thread_owns_resize_lock(thread);
    BucketsOperation::_cht->_resize_lock->unlock();     
    this->thread_owns_only_state_lock(thread);        
  }

-------------

PR: https://git.openjdk.org/jdk/pull/10527


More information about the hotspot-runtime-dev mailing list