hg: jdk/jdk: 8234617: C1: Incorrect result of field load due to missing narrowing conversion

tobias.hartmann at oracle.com tobias.hartmann at oracle.com
Tue Dec 3 07:29:45 UTC 2019


Changeset: 90f3ea9785d5
Author:    thartmann
Date:      2019-12-03 08:29 +0100
URL:       https://hg.openjdk.java.net/jdk/jdk/rev/90f3ea9785d5

8234617: C1: Incorrect result of field load due to missing narrowing conversion
Summary: Emit an explicit conversion to get the correct field value after the write.
Reviewed-by: vlivanov, mdoerr

! src/hotspot/share/c1/c1_GraphBuilder.cpp
+ test/hotspot/jtreg/compiler/conversions/Conversion.jasm
+ test/hotspot/jtreg/compiler/conversions/TestPrimitiveConversions.java



More information about the jdk-changes mailing list