After JDK-8373794, we don't need to be in write mode to modify nmethod fields.

This commit is contained in:
Andrew Haley 2026-01-23 16:07:56 +00:00
parent 22c0799409
commit 37730e6aac

View File

@ -2213,7 +2213,6 @@ void nmethod::verify_clean_inline_caches() {
}
void nmethod::mark_as_maybe_on_stack() {
MACOS_AARCH64_ONLY(os::thread_wx_enable_write());
AtomicAccess::store(&_gc_epoch, CodeCache::gc_epoch());
}