RFR: 8280166: Extend java/lang/instrument/GetObjectSizeIntrinsicsTest.java test cases [v2]

Aleksey Shipilev shade at openjdk.java.net
Fri Jan 21 11:04:26 UTC 2022


> While working on JDK-8280003, I noticed that java/lang/instrument/GetObjectSizeIntrinsicsTest.java does not test arrays with more than 1-byte size elements, and no large arrays (past 4G limit) are tested either. It would be better to add those test cases. 
> 
> Additional testing:
>  - [x] Linux x86_64 fastdebug, affected test still passes
>  - [x] Linux x86_32 fastdebug, affected test still passes
>  - [x] Linux AArch64 fastdebug, affected test still passes
>  - [x] Linux PPC64 fastdebug, affected test still passes

Aleksey Shipilev has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision:

 - Merge branch 'master' into JDK-8280166-getobjectsize
 - Fix

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/7132/files
  - new: https://git.openjdk.java.net/jdk/pull/7132/files/29e6fd24..dd9ce049

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=7132&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=7132&range=00-01

  Stats: 7693 lines in 284 files changed: 5179 ins; 1672 del; 842 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7132.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7132/head:pull/7132

PR: https://git.openjdk.java.net/jdk/pull/7132


More information about the serviceability-dev mailing list