RFR: 8263460: DynamicArchiveRelocationTest.java fails in product VM [v2]

Ioi Lam iklam at openjdk.java.net
Fri Mar 12 17:36:22 UTC 2021


> Please review this test bug. 
> 
> The handling of -XX:ArchiveRelocationMode=1 is different between fastdebug and product builds:
> 
> - fastdebug: (to improve test coverage) -- we always map at the default location, then unmap, and then map again at a random location.
> - product: (for faster performance) -- don't attempt to map at the default location. Just map at random location
> 
> Therefore, the "unmap" messages are not available in product mode.
> 
> I added comments to explain what output is expected, and rearranged the regexp for better matching.

Ioi Lam has updated the pull request incrementally with one additional commit since the last revision:

  removed pattern matching for "Unmapping" as these may not always happen due to ASLR

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/2947/files
  - new: https://git.openjdk.java.net/jdk/pull/2947/files/27dfc7c5..f40828c4

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

  Stats: 39 lines in 1 file changed: 0 ins; 39 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/2947.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/2947/head:pull/2947

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


More information about the hotspot-runtime-dev mailing list