This commit is contained in:
Patrick Fontanilla 2026-08-03 21:54:47 +00:00
parent 063489722b
commit 0efd4cbf2a
2 changed files with 1 additions and 7 deletions

View File

@ -3012,9 +3012,3 @@ ShenandoahHeapLocker::ShenandoahHeapLocker(ShenandoahHeapLock* lock, bool allow_
#endif
_lock->lock(allow_block_for_safepoint);
}
void ShenandoahHeap::flush_region_pin_cache() {
for (JavaThreadIteratorWithHandle jtiwh; JavaThread *thread = jtiwh.next(); ) {
ShenandoahThreadLocalData::pin_count_cache(thread).flush();
}
}

View File

@ -226,7 +226,7 @@ public:
return Thread::gc_data_offset() + byte_offset_of(ShenandoahThreadLocalData, _gc_state_fast_array) + in_ByteSize(gc_state_to_fast_array_index(gc_state));
}
static ByteSize card_table_offset() {
static ByteSize card_table_offset() {
return Thread::gc_data_offset() + byte_offset_of(ShenandoahThreadLocalData, _card_table);
}