[master] RFR: 8307392: [Lilliput] Revert deflation of dead object's monitors

Roman Kennke rkennke at openjdk.org
Wed May 3 19:40:00 UTC 2023


In https://github.com/openjdk/lilliput/pull/28, I introduced some code that forces deflation of monitors on objects that are about to die. Discussions around a possible upstreaming of this code (https://github.com/openjdk/jdk/pull/13721) comes to the conclusion that this should not be necessary, and indeed, I could not reproduce the original problem that I was having in Lilliput with the code removed. I assume some changes in upstream and/or Lilliput since then have fixed the root cause. Let's remove that code and see what explodes.

Testing: (All with -XX:+UseHeavyMonitors to amplify monitor traffic)
 - [x] hotspot_gc
 - [x] tier1
 - [x] tier2
 - [x] SPECjvm workloads

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

Commit messages:
 - 8307392: [Lilliput] Revert deflation of dead object's monitors

Changes: https://git.openjdk.org/lilliput/pull/88/files
 Webrev: https://webrevs.openjdk.org/?repo=lilliput&pr=88&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8307392
  Stats: 22 lines in 5 files changed: 1 ins; 21 del; 0 mod
  Patch: https://git.openjdk.org/lilliput/pull/88.diff
  Fetch: git fetch https://git.openjdk.org/lilliput.git pull/88/head:pull/88

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


More information about the lilliput-dev mailing list