8228743: [PPC64, s390] Implement FastJNIAccessors

Reviewed-by: goetz, lucy
This commit is contained in:
Martin Doerr 2019-07-30 17:54:53 +02:00
parent 1186d8203b
commit 918492bb58
9 changed files with 279 additions and 25 deletions

View file

@ -502,6 +502,15 @@ JVM_handle_linux_signal(int sig,
return true;
}
}
// jni_fast_Get<Primitive>Field can trap at certain pc's if a GC kicks in
// and the heap gets shrunk before the field access.
if ((sig == SIGSEGV) || (sig == SIGBUS)) {
address addr = JNI_FastGetField::find_slowcase_pc(pc);
if (addr != (address)-1) {
stub = addr;
}
}
}
if (stub != NULL) {