mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 12:09:14 +00:00
After JDK-8373794, we don't need to be in write mode to modify nmethod fields.
This commit is contained in:
parent
22c0799409
commit
37730e6aac
@ -2213,7 +2213,6 @@ void nmethod::verify_clean_inline_caches() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void nmethod::mark_as_maybe_on_stack() {
|
void nmethod::mark_as_maybe_on_stack() {
|
||||||
MACOS_AARCH64_ONLY(os::thread_wx_enable_write());
|
|
||||||
AtomicAccess::store(&_gc_epoch, CodeCache::gc_epoch());
|
AtomicAccess::store(&_gc_epoch, CodeCache::gc_epoch());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user