mirror of
https://github.com/openjdk/jdk.git
synced 2026-08-04 07:05:31 +00:00
Fix
This commit is contained in:
parent
063489722b
commit
0efd4cbf2a
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user