[lworld] RFR: 8253745: [lworld] C1: Flat inline type array store may write out of bounds

Tobias Hartmann thartmann at openjdk.java.net
Mon Oct 5 09:20:56 UTC 2020


When storing to a flat inline type array, C1 emits code for a field-wise copy from the source buffer to the destination
array element. The field contents are stored in a temp register. If the field type is smaller than T_INT, we increase
it to T_INT because smaller registers are not supported. However, the type of the load/store should not be updated.

-------------

Commit messages:
 - 8253745: [lworld] C1: Flat inline type array store may write out of bounds

Changes: https://git.openjdk.java.net/valhalla/pull/208/files
 Webrev: https://webrevs.openjdk.java.net/?repo=valhalla&pr=208&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8253745
  Stats: 7 lines in 1 file changed: 3 ins; 1 del; 3 mod
  Patch: https://git.openjdk.java.net/valhalla/pull/208.diff
  Fetch: git fetch https://git.openjdk.java.net/valhalla pull/208/head:pull/208

PR: https://git.openjdk.java.net/valhalla/pull/208



More information about the valhalla-dev mailing list