RFR: 7903532: JOL: Hotspot layouter assumes array bases are aligned to 4 bytes [v2]

Aleksey Shipilev shade at openjdk.org
Wed Aug 23 12:05:23 UTC 2023


> This is actually not true in current VMs, due to [JDK-8139457](https://bugs.openjdk.org/browse/JDK-8139457). This means HotspotLayouter underestimates the array sizes. This was not caught before, because we did not have good tests for arrays.

Aleksey Shipilev has updated the pull request incrementally with one additional commit since the last revision:

  More test configs

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

Changes:
  - all: https://git.openjdk.org/jol/pull/49/files
  - new: https://git.openjdk.org/jol/pull/49/files/aab04534..ae3887a8

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jol&pr=49&range=01
 - incr: https://webrevs.openjdk.org/?repo=jol&pr=49&range=00-01

  Stats: 112 lines in 1 file changed: 96 ins; 0 del; 16 mod
  Patch: https://git.openjdk.org/jol/pull/49.diff
  Fetch: git fetch https://git.openjdk.org/jol.git pull/49/head:pull/49

PR: https://git.openjdk.org/jol/pull/49


More information about the jol-dev mailing list