git: openjdk/mobile: 8234617: C1: Incorrect result of field load due to missing narrowing conversion

duke duke at openjdk.java.net
Tue Dec 3 07:34:43 UTC 2019


Changeset: aff41433
Author:    Tobias Hartmann <thartmann at openjdk.org>
Date:      2019-12-03 08:29:04 +0000
URL:       https://git.openjdk.java.net/mobile/commit/aff41433

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

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 mobile-changes mailing list