equal
deleted
inserted
replaced
1481 case Bytecodes::_ldc_w: |
1481 case Bytecodes::_ldc_w: |
1482 case Bytecodes::_ldc2_w: |
1482 case Bytecodes::_ldc2_w: |
1483 // If the constant is unresolved, run this BC once in the interpreter. |
1483 // If the constant is unresolved, run this BC once in the interpreter. |
1484 { |
1484 { |
1485 ciConstant constant = iter().get_constant(); |
1485 ciConstant constant = iter().get_constant(); |
1486 if (constant.basic_type() == T_OBJECT && |
1486 if (!constant.is_valid() || |
1487 !constant.as_object()->is_loaded()) { |
1487 (constant.basic_type() == T_OBJECT && |
|
1488 !constant.as_object()->is_loaded())) { |
1488 int index = iter().get_constant_pool_index(); |
1489 int index = iter().get_constant_pool_index(); |
1489 constantTag tag = iter().get_constant_pool_tag(index); |
1490 constantTag tag = iter().get_constant_pool_tag(index); |
1490 uncommon_trap(Deoptimization::make_trap_request |
1491 uncommon_trap(Deoptimization::make_trap_request |
1491 (Deoptimization::Reason_unloaded, |
1492 (Deoptimization::Reason_unloaded, |
1492 Deoptimization::Action_reinterpret, |
1493 Deoptimization::Action_reinterpret, |