JDK-8218988 : Improve metaspace verifications
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 13
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-02-14
  • Updated: 2019-11-13
  • Resolved: 2019-03-01
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 13
13 b11Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Description
Metaspace verifications (controlled by VerifyMetaspace) are usually switched off because they are too expensive. 

Modify them to make them cheaper and more thorough. Add a switch to control verification interval, and in debug builds set it to a reasonable default which is not too expensive but still runs at least sometimes (as an orientation, runtime/SelectionTests should not slow down noticably).