[master] RFR: 8335251: [Lilliput] Fix TestRecursiveMonitorChurn failure

Roman Kennke rkennke at openjdk.org
Thu Jun 27 11:25:51 UTC 2024


The test TestRecursiveMonitorChurn currrently fails with Lilliput or UseObjectMonitorTable, because the monitor table is also allocated with mtObjectMonitor tag, and the threshold in the test is too low.

The fix is to increase the threshold so that it covers the table, but not so much that we'd get false positives. 100,000 seems to hit that spot nicely. (The memory usage with table is about 70,000, the failure case is over the 1,000,000 mark.

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

Commit messages:
 - 8335251: [Lilliput] Fix TestRecursiveMonitorChurn failure

Changes: https://git.openjdk.org/lilliput/pull/186/files
  Webrev: https://webrevs.openjdk.org/?repo=lilliput&pr=186&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8335251
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/lilliput/pull/186.diff
  Fetch: git fetch https://git.openjdk.org/lilliput.git pull/186/head:pull/186

PR: https://git.openjdk.org/lilliput/pull/186


More information about the lilliput-dev mailing list