RFR 8174725: JVM should throw ClassDefNotFoundError if ACC_MODULE is set in access_flags

Claes Redestad claes.redestad at oracle.com
Sat Feb 18 10:36:17 UTC 2017


On 2017-02-18 07:02, David Holmes wrote:
> I would expect there would be a significant startup benefit to not
> verifying core classes!

Is this the exemption for core/trusted classes that one can override
with -Xverify:all?  If so, then yes, it has significant startup benefit
that is easy to measure (30-40ms on a measly Hello World on my 64-bit
Linux machine)



> But it remains non-obvious to me what kinds of checks are unconditional
> and which can be disabled for trusted classes.
> Thanks,
> David

More information about the hotspot-runtime-dev mailing list