JDK-8292890 : Remove PrintTouchedMethodsAtExit and LogTouchedMethods
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 20
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2022-08-24
  • Updated: 2023-11-13
  • Resolved: 2022-08-25
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 20
20 b13Fixed
Related Reports
Relates :  
Description
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.
Comments
Changeset: e353b572 Author: Coleen Phillimore <coleenp@openjdk.org> Date: 2022-08-25 21:12:35 +0000 URL: https://git.openjdk.org/jdk/commit/e353b572a54edbbf0df1f01afa36067500157603
25-08-2022

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/10009 Date: 2022-08-24 22:27:30 +0000
24-08-2022