aboutsummaryrefslogtreecommitdiff
path: root/src/share/vm/oops/cpCache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/share/vm/oops/cpCache.cpp')
-rw-r--r--src/share/vm/oops/cpCache.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/share/vm/oops/cpCache.cpp b/src/share/vm/oops/cpCache.cpp
index 06c70cd02..7d6d36b68 100644
--- a/src/share/vm/oops/cpCache.cpp
+++ b/src/share/vm/oops/cpCache.cpp
@@ -33,9 +33,10 @@
#include "prims/jvmtiRedefineClassesTrace.hpp"
#include "prims/methodHandles.hpp"
#include "runtime/handles.inline.hpp"
-#ifndef SERIALGC
+#include "utilities/macros.hpp"
+#if INCLUDE_ALL_GCS
# include "gc_implementation/parallelScavenge/psPromotionManager.hpp"
-#endif
+#endif // INCLUDE_ALL_GCS
// Implememtation of ConstantPoolCacheEntry