JDK-8219579 : Remove redundant signature parsing from the verifier
Type:Enhancement
Component:hotspot
Sub-Component:runtime
Affected Version:13
Priority:P4
Status:Resolved
Resolution:Fixed
Submitted:2019-02-22
Updated:2021-07-16
Resolved:2019-03-14
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.
Both ClassFileParser and the split verifier check that field and method signatures, found in constant pool NameAndType entries, are valid. The redundant checks should be removed from the verifier.
Comments
On a selection of small to medium startup tests, this removes about 5-10% of instructions retired in Verifier::verify when instrumenting , with a statistically significant improvement in number of instructions executed ranging from 0.1-0.5% on the total when benchmarking. Wallclock improvements are typically in the noise in most tests, but all metrics point in the right direction.