mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
8213199: GC abstraction for Assembler::needs_explicit_null_check()
Reviewed-by: adinn, eosterlund
This commit is contained in:
parent
7724fd6d9b
commit
7c3f2b06f1
19 changed files with 56 additions and 30 deletions
|
@ -431,7 +431,7 @@ JVM_handle_linux_signal(int sig,
|
|||
// SIGSEGV-based implicit null check in compiled code.
|
||||
else if (sig == SIGSEGV && ImplicitNullChecks &&
|
||||
CodeCache::contains((void*) pc) &&
|
||||
!MacroAssembler::needs_explicit_null_check((intptr_t) info->si_addr)) {
|
||||
MacroAssembler::uses_implicit_null_check(info->si_addr)) {
|
||||
if (TraceTraps) {
|
||||
tty->print_cr("trap: null_check at " INTPTR_FORMAT " (SIGSEGV)", p2i(pc));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue