RFR: 8358756: [s390x] Test StartupOutput.java crash due to CodeCache size [v2]

Amit Kumar amitkumar at openjdk.org
Tue Jun 17 15:37:27 UTC 2025


On Tue, 17 Jun 2025 15:09:42 GMT, Damon Fenacci <dfenacci at openjdk.org> wrote:

> > Just for my understanding. Even if test passes we still want to see this warning:
> > ```
> > [warning][codecache] CodeCache is full. Compiler has been disabled.
> > ```
> 
> The test passes with and without that message. When the randomly chosen amount of code cache is not enough to start the compiler(s) it should print that message, when it is enough to start both compilers, you don't see that message. The important thing is that there is no crash when compilers are trying to reserve code cache (they should be just shut down).


What I wanted to verify with above expected crash is that current number are not enough for the compilers and we saw the output is containing that "Codecache is full" message. 

Now we can claim that this message is there in the log output and test passes successfully.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/25741#issuecomment-2980855102


More information about the hotspot-compiler-dev mailing list