8357514: Disable AOT caching for runtime stubs

Reviewed-by: iveresov, iklam
This commit is contained in:
Vladimir Kozlov 2025-05-22 06:09:34 +00:00
parent 061b5cc6b9
commit 8184ce39a8
2 changed files with 5 additions and 1 deletions

View File

@ -139,6 +139,9 @@ void AOTCodeCache::initialize() {
return; // AOTCache must be specified to dump and use AOT code
}
// Disable stubs caching until JDK-8357398 is fixed.
FLAG_SET_ERGO(AOTStubCaching, false);
if (VerifyOops) {
// Disable AOT stubs caching when VerifyOops flag is on.
// Verify oops code generated a lot of C strings which overflow

View File

@ -50,7 +50,8 @@ import jdk.test.lib.process.OutputAnalyzer;
public class AOTCodeFlags {
public static void main(String... args) throws Exception {
Tester t = new Tester();
for (int mode = 0; mode < 3; mode++) {
// Run only 2 modes (0 - no AOT code, 1 - AOT adapters) until JDK-8357398 is fixed
for (int mode = 0; mode < 2; mode++) {
t.setTestMode(mode);
t.run(new String[] {"AOT"});
}