There's no explicit ResourceMark in JVMCIRuntime::initialize_HotSpotJVMCIRuntime but generally callers have one that it can use.  However calling JVMCI.getRuntime() from a newly created thread will crash because there doesn't happen to be a containing resource mark.  It should just have it's own.
            
- 
        
            
            
    
    Tom Rodriguez 
- 
        
            
            
    
    Tom Rodriguez 
- Votes:
- 
                                0 Vote for this issue
- Watchers:
- 
                                
                                
                            2 Start watching this issue
- Created:
- Updated:
- Resolved:
 P3
  P3