diff --git a/test/hotspot/jtreg/compiler/startup/StartupOutput.java b/test/hotspot/jtreg/compiler/startup/StartupOutput.java index d02daedf69e..efccb8ed3ee 100644 --- a/test/hotspot/jtreg/compiler/startup/StartupOutput.java +++ b/test/hotspot/jtreg/compiler/startup/StartupOutput.java @@ -63,7 +63,7 @@ public static void main(String[] args) throws Exception { // On s390x, generated code is ~6x larger in fastdebug and ~1.4x in release builds vs. other archs, // hence we require slightly more minimum space. - int minInitialSize = 2000 + (Platform.isS390x() ? 800 : 0); + int minInitialSize = 1300 + (Platform.isS390x() ? 800 : 0); for (int i = 0; i < 50; i++) { int initialCodeCacheSizeInKb = minInitialSize + rand.nextInt(400); int reservedCodeCacheSizeInKb = initialCodeCacheSizeInKb + rand.nextInt(200);