RFR: 8058176: [mlvm] Tests should tolerate exceptions caused by code cache exhaustion.
    Evgeny Nikitin 
    enikitin at openjdk.java.net
       
    Mon Feb  8 20:01:42 UTC 2021
    
    
  
On Fri, 5 Feb 2021 22:16:14 GMT, Evgeny Nikitin <enikitin at openjdk.org> wrote:
> A repetition of the #1622.
> 
> 1. Normalise meth/stress/compiler/i2c_c2i/Test.java to use MultiThreadedTest framework;
> 2. Adjust MultiThreadedTest in order to accomodate the i2c_c2i test (add prepareThread method and logic);
> 3. Add ThrowableTolerance and DefaultThrowableTolerance as ways to control what Throwables are accepted;
> 4. Adjust MultiThreadedTest to catch Throwables and check if they are accepted;
> 5. Adjust individual tests to catch possible Throwables and check if they are accepted;
> 6. Un-problemlist the failing tests.
> 
> Testing vmTestBase/vm/mlvm/meth/stress run on macos-linux-windows (30 runs each) in x64 configurations, rebased on top of latest code base. Code cache was limited `-XX:ReservedCodeCacheSize=8M` as suggested in the case.
Needs reworking.
-------------
PR: https://git.openjdk.java.net/jdk/pull/2440
    
    
More information about the hotspot-compiler-dev
mailing list