RFR: 8273563: Improve performance of implicit exceptions with -XX:-OmitStackTraceInFastThrow [v3]
    Volker Simonis 
    simonis at openjdk.java.net
       
    Thu Oct  7 12:46:12 UTC 2021
    
    
  
On Tue, 5 Oct 2021 19:40:55 GMT, Nils Eliasson <neliasso at openjdk.org> wrote:
> In the benchmark you are testing a case where the exception isn't used - will the allocation be eliminated then?
> 
> In addition to the benchmark you have provided, I would like to see functional tests for both when the allocation is used, and when it isn't. Have you looked at the new IR Test Framework?
Good idea! I'll take a look.
I've now also understood what @TheRealMDoerr meant by "*choose a couple of jtreg tests and add an additional run with OmitStackTraceInFastThrow disabled*2 :) 
I'll add both, an explicit test as well as investigate if it makes sense to run some testes with `-XX:-OmitStackTraceInFastThrow` to exercise the new functionality.
-------------
PR: https://git.openjdk.java.net/jdk/pull/5488
    
    
More information about the hotspot-dev
mailing list