git: openjdk/jdk: 8303737: C2: Load can bypass subtype check that enforces it's from the right object type

Roland Westrelin roland at openjdk.org
Tue Sep 26 06:55:44 UTC 2023


Changeset: 52983ed5
Author:    Roland Westrelin <roland at openjdk.org>
Date:      2023-09-26 06:55:01 +0000
URL:       https://git.openjdk.org/jdk/commit/52983ed529182901db4e33857bfeab2727e235df

8303737: C2: Load can bypass subtype check that enforces it's from the right object type

Reviewed-by: chagedorn, thartmann

! src/hotspot/share/opto/castnode.cpp
! src/hotspot/share/opto/castnode.hpp
! src/hotspot/share/opto/cfgnode.cpp
! src/hotspot/share/opto/cfgnode.hpp
! src/hotspot/share/opto/loopopts.cpp
+ test/hotspot/jtreg/compiler/controldependency/TestAddPChainMismatchedBase.java
+ test/hotspot/jtreg/compiler/controldependency/TestAddPChainMismatchedBase2.java
+ test/hotspot/jtreg/compiler/controldependency/TestLoadBypassesClassCast.java



More information about the jdk-changes mailing list