RFR: 8292890: Remove PrintTouchedMethodsAtExit and LogTouchedMethods
Coleen Phillimore
coleenp at openjdk.org
Wed Aug 24 22:35:50 UTC 2022
These options were implemented for a CDS feature to move methods in the shared region, but was never used. I noticed them in converting rogue ad-hoc hashtables to ResourceHashtable. The Hashtable for touched methods keeps all methods referred to in a giant hashtable, and keeps the Symbols for the name, class and signature from being deleted by incrementing the refcounts.
This should just be removed since it's not used, and in the future if we needed this, we would implement it differently.
Testing with tier1 on Oracle platforms, tier1-3 on linux-x64-debug, linux-x64, windows-x64-debug, and other platforms builds-only. In progress.
-------------
Commit messages:
- 8292890: Remove PrintTouchedMethodsAtExit and LogTouchedMethods
- Use ResourceHashtable for TouchedMethodTable
Changes: https://git.openjdk.org/jdk/pull/10009/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10009&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8292890
Stats: 364 lines in 19 files changed: 0 ins; 350 del; 14 mod
Patch: https://git.openjdk.org/jdk/pull/10009.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/10009/head:pull/10009
PR: https://git.openjdk.org/jdk/pull/10009
More information about the hotspot-dev
mailing list