[lilliput-jdk17u:lilliput] RFR: 8302210: [Lilliput/JDK17] Optimize fix-anon monitor owner path [v2]

Roman Kennke rkennke at openjdk.org
Tue Feb 21 19:55:56 UTC 2023


> When trying to exit a monitor, we need to check if the current owner is anonymous, and if so, fix it before exiting the monitor. So far, we have been doing this by calling into the slow-path and handle it in the runtime. However, it is fairly easy to do in the fast-path and avoid calling into the runtime altogether.
> 
> Testing:
>  - [x] tier1 (x86_64, aarch64)
>  - [ ] tier2 (x86_64, aarch64) 
>  - [ ] jcstress -t sync -m quick (x86_64, aarch64)

Roman Kennke has updated the pull request incrementally with one additional commit since the last revision:

  8303027: [Lilliput/JDK17] Correctly resolve forwarded objects in G1 heap iteration

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

Changes:
  - all: https://git.openjdk.org/lilliput-jdk17u/pull/5/files
  - new: https://git.openjdk.org/lilliput-jdk17u/pull/5/files/9522adc0..c7f29da5

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=lilliput-jdk17u&pr=5&range=01
 - incr: https://webrevs.openjdk.org/?repo=lilliput-jdk17u&pr=5&range=00-01

  Stats: 82 lines in 4 files changed: 77 ins; 1 del; 4 mod
  Patch: https://git.openjdk.org/lilliput-jdk17u/pull/5.diff
  Fetch: git fetch https://git.openjdk.org/lilliput-jdk17u pull/5/head:pull/5

PR: https://git.openjdk.org/lilliput-jdk17u/pull/5


More information about the lilliput-dev mailing list