RFR: 8351965: [leyden] Skip installing C2 AOT code if C2 precompiled AOT code trapped
    Aleksey Shipilev 
    shade at openjdk.org
       
    Thu Mar 13 17:11:10 UTC 2025
    
    
  
On Thu, 13 Mar 2025 16:50:49 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:
> > That method trapped _at the same bci_, which is really expected
> 
> Why it is expected? Going back to Interpreter or C1 code should load class and next AOT code should not trap.
This is what I thought when digging through it: if there is a free-standing uncommon trap without clinit barrier on rare branch, maybe we would see the same uncommon trap from both AOT versions, whether preloaded or not preloaded. Let me dump the assembly and see what is actually going on.
-------------
PR Comment: https://git.openjdk.org/leyden/pull/48#issuecomment-2722033874
    
    
More information about the leyden-dev
mailing list