From 7c3471122a936d37addfced2cb27e5e7bee7af30 Mon Sep 17 00:00:00 2001 From: Dan Heidinga Date: Thu, 10 Jan 2019 01:06:38 -0500 Subject: [PATCH 1/2] Disable SCC by default on all platforms for the 0.12.0 release issue: #4222 Signed-off-by: Dan Heidinga --- runtime/oti/j9.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/runtime/oti/j9.h b/runtime/oti/j9.h index 946586fa13e..e17cdc5799d 100644 --- a/runtime/oti/j9.h +++ b/runtime/oti/j9.h @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 1991, 2018 IBM Corp. and others + * Copyright (c) 1991, 2019 IBM Corp. and others * * This program and the accompanying materials are made available under * the terms of the Eclipse Public License 2.0 which accompanies this @@ -328,7 +328,12 @@ static const struct { \ #endif /* J9VM_OPT_VALHALLA_VALUE_TYPES */ #if defined(OPENJ9_BUILD) -#define J9_SHARED_CACHE_DEFAULT_BOOT_SHARING(vm) TRUE +/* Disable the sharedclasses by default feature due to performance regressions + * found prior to the 0.12.0 release. Enabling the cache for bootstrap classes + * only interacts poorly with the JIT's logic to disable the iprofiler if a + * warm cache is detected. See https://github.com/eclipse/openj9/issues/4222 + */ +#define J9_SHARED_CACHE_DEFAULT_BOOT_SHARING(vm) FALSE #else /* defined(OPENJ9_BUILD) */ #define J9_SHARED_CACHE_DEFAULT_BOOT_SHARING(vm) FALSE #endif /* defined(OPENJ9_BUILD) */ From b70bc3d3e45c19e8f43766eba4dbfea402dbf29c Mon Sep 17 00:00:00 2001 From: Dan Heidinga Date: Thu, 10 Jan 2019 08:43:41 -0500 Subject: [PATCH 2/2] Disable the `ShareClassesCMLOpenJ9` test as SCC by default reverted Test will be re-enabled when the performance issues are worked out. issue: #4227 Signed-off-by: Dan Heidinga --- .../cmdLineTests/shareClassTests/SCCMLTests/playlist.xml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/functional/cmdLineTests/shareClassTests/SCCMLTests/playlist.xml b/test/functional/cmdLineTests/shareClassTests/SCCMLTests/playlist.xml index e7249c77459..6846cfc0274 100644 --- a/test/functional/cmdLineTests/shareClassTests/SCCMLTests/playlist.xml +++ b/test/functional/cmdLineTests/shareClassTests/SCCMLTests/playlist.xml @@ -1,7 +1,7 @@