Mercurial > hg > graal-jvmci-8
diff src/share/vm/code/codeCache.cpp @ 20432:aff6ccb506cb
8056154: JVM crash with EXCEPTION_ACCESS_VIOLATION when there are many threads running
Summary: Don't make compiled MH intrinsics not entrant when redefining classes
Reviewed-by: kvn, vlivanov
author | iveresov |
---|---|
date | Fri, 05 Sep 2014 14:39:45 -0700 |
parents | 2c6ef90f030a |
children | 7848fc12602b c1950f51ed60 |
line wrap: on
line diff
--- a/src/share/vm/code/codeCache.cpp Wed Sep 03 15:26:06 2014 +0400 +++ b/src/share/vm/code/codeCache.cpp Fri Sep 05 14:39:45 2014 -0700 @@ -712,7 +712,9 @@ void CodeCache::mark_all_nmethods_for_deoptimization() { MutexLockerEx mu(CodeCache_lock, Mutex::_no_safepoint_check_flag); FOR_ALL_ALIVE_NMETHODS(nm) { - nm->mark_for_deoptimization(); + if (!nm->method()->is_method_handle_intrinsic()) { + nm->mark_for_deoptimization(); + } } }