mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 19:44:41 +02:00
Merge
This commit is contained in:
commit
c3a0e80e0b
345 changed files with 58071 additions and 1206 deletions
|
@ -201,7 +201,7 @@ JVMState* VirtualCallGenerator::generate(JVMState* jvms, Parse* parent_parser) {
|
|||
// Block::implicit_null_check() only looks for loads and stores, not calls.
|
||||
ciMethod *caller = kit.method();
|
||||
ciMethodData *caller_md = (caller == NULL) ? NULL : caller->method_data();
|
||||
if (!UseInlineCaches || !ImplicitNullChecks ||
|
||||
if (!UseInlineCaches || !ImplicitNullChecks || !os::zero_page_read_protected() ||
|
||||
((ImplicitNullCheckThreshold > 0) && caller_md &&
|
||||
(caller_md->trap_count(Deoptimization::Reason_null_check)
|
||||
>= (uint)ImplicitNullCheckThreshold))) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue