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

harold seigel harold.seigel at oracle.com
Tue Feb 21 14:08:37 UTC 2017

AFAIK we don't plan to change the exemption of core/trusted classes from 

What we are doing is adding some unconditional class format checks to 
classFileParser.  Class format checks are much simpler, faster, and 
distinct from verification checks.

Thanks, Harold

On 2/18/2017 5:36 AM, Claes Redestad wrote:
> Hi,
> 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)
> Thanks!
> /Claes
>> 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