RFR: 8298073: gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java causes test task timeout on macosx [v2]

Chris Plummer cjplummer at openjdk.org
Thu Dec 8 19:55:24 UTC 2022


> This fixes two separate CRs:
> 
> [JDK-8241293](https://bugs.openjdk.org/browse/JDK-8241293) CompressedClassSpaceSizeInJmapHeap.java time out after 8 minutes
> [JDK-8298073](https://bugs.openjdk.org/browse/JDK-8298073) gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java causes test task timeout on macosx
> 
> For the first one the test was hitting an 8m timeout, but completing right after that. The test log said PASSED, but jtreg failed it anyway because it noticed the timeout. The fix is to double the default 120s timeout to 240s (which is 16m when the 4x timeoutfactor is applied.
> 
> For the second one the issue seemed to be with having the test process spawn a jhsdb process that attached back to the test process. OSX didn't seem to be too happy about this. The fix is to instead create a LingeredApp process to attach to like all the other SA tests do.

Chris Plummer has updated the pull request incrementally with one additional commit since the last revision:

  Update test/hotspot/jtreg/gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java
  
  Delete extra space.
  
  Co-authored-by: Andrey Turbanov <turbanoff at gmail.com>

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/11576/files
  - new: https://git.openjdk.org/jdk/pull/11576/files/e1543d5a..b403e129

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

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/11576.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/11576/head:pull/11576

PR: https://git.openjdk.org/jdk/pull/11576


More information about the hotspot-gc-dev mailing list