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

Damon Fenacci dfenacci at openjdk.org
Tue Jun 17 15:12:30 UTC 2025


On Thu, 12 Jun 2025 06:29:26 GMT, Amit Kumar <amitkumar 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).

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

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


More information about the hotspot-compiler-dev mailing list