mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
6958668: repeated uncommon trapping for new of klass which is being initialized
Reviewed-by: kvn, jrose
This commit is contained in:
parent
7533d0caf7
commit
d3c3800a29
5 changed files with 69 additions and 35 deletions
|
@ -343,7 +343,8 @@ bool Parse::can_not_compile_call_site(ciMethod *dest_method, ciInstanceKlass* kl
|
|||
// being initialized. Uncommon-trap for not-initialized static or
|
||||
// v-calls. Let interface calls happen.
|
||||
ciInstanceKlass* holder_klass = dest_method->holder();
|
||||
if (!holder_klass->is_initialized() &&
|
||||
if (!holder_klass->is_being_initialized() &&
|
||||
!holder_klass->is_initialized() &&
|
||||
!holder_klass->is_interface()) {
|
||||
uncommon_trap(Deoptimization::Reason_uninitialized,
|
||||
Deoptimization::Action_reinterpret,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue