mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
8262377: Parallel class resolution loses constant pool error
Co-authored-by: Vladimir Ivanov <vlivanov@openjdk.org> Co-authored-by: Coleen Phillimore <coleenp@openjdk.org> Co-authored-by: Ioi Lam <iklam@openjdk.org> Reviewed-by: dholmes, iklam, hseigel, kvn
This commit is contained in:
parent
b482733f94
commit
57f16f9fe5
14 changed files with 361 additions and 109 deletions
|
@ -1820,7 +1820,7 @@ void Deoptimization::load_class_by_index(const constantPoolHandle& constant_pool
|
|||
// So this whole "class index" feature should probably be removed.
|
||||
|
||||
if (constant_pool->tag_at(index).is_unresolved_klass()) {
|
||||
Klass* tk = constant_pool->klass_at_ignore_error(index, THREAD);
|
||||
Klass* tk = constant_pool->klass_at(index, THREAD);
|
||||
if (HAS_PENDING_EXCEPTION) {
|
||||
// Exception happened during classloading. We ignore the exception here, since it
|
||||
// is going to be rethrown since the current activation is going to be deoptimized and
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue