RFR: 8330578: The VM creates instance of abstract class VirtualMachineError [v7]
    Coleen Phillimore 
    coleenp at openjdk.org
       
    Tue Apr 23 11:33:35 UTC 2024
    
    
  
On Mon, 22 Apr 2024 22:34:47 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
>> src/hotspot/share/classfile/verifier.cpp line 258:
>> 
>>> 256:         // to infinitely recurse when we try to initialize the exception.
>>> 257:         // So bail out here by throwing the preallocated VM error.
>>> 258:         THROW_OOP_(Universe::class_init_stack_overflow_error(), false);
>> 
>> Should this be InternalError now?  That seems better than StackOverflow.
>
> Technically it's a stack overflow.  I don't think it's a reachable code path so it doesn't really matter.
changed.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/18847#discussion_r1576093286
    
    
More information about the hotspot-dev
mailing list