RFR: 8264149 BreakpointInfo::set allocates metaspace object in VM thread
    Coleen Phillimore 
    coleenp at openjdk.java.net
       
    Fri Mar 26 23:08:40 UTC 2021
    
    
  
On Fri, 26 Mar 2021 13:25:24 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
>> src/hotspot/share/memory/metaspace.hpp line 127:
>> 
>>> 125:                             MetaspaceObj::Type type, TRAPS);
>>> 126: 
>>> 127:   // Nothrow version of allocate which can be called by a non-Java thread.
>> 
>> "Nothrow" is a C++ concept. I would just say "Non-TRAPS version ... Returns NULL on failure."
>
> Yes, true.  Particularly since it had to be declared with throws().
got it!
-------------
PR: https://git.openjdk.java.net/jdk/pull/3207
    
    
More information about the hotspot-dev
mailing list