mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
8228743: [PPC64, s390] Implement FastJNIAccessors
Reviewed-by: goetz, lucy
This commit is contained in:
parent
1186d8203b
commit
918492bb58
9 changed files with 279 additions and 25 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue