Skip to content

Commit 37730e6

Browse files
author
Andrew Haley
committed
After JDK-8373794, we don't need to be in write mode to modify nmethod fields.
1 parent 22c0799 commit 37730e6

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/hotspot/share/code/nmethod.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2213,7 +2213,6 @@ void nmethod::verify_clean_inline_caches() {
22132213
}
22142214

22152215
void nmethod::mark_as_maybe_on_stack() {
2216-
MACOS_AARCH64_ONLY(os::thread_wx_enable_write());
22172216
AtomicAccess::store(&_gc_epoch, CodeCache::gc_epoch());
22182217
}
22192218

0 commit comments

Comments
 (0)