RFR: [8u] Fix non-PCH x86_32 build

Aleksey Shipilev shade at redhat.com
Wed Apr 25 07:50:08 UTC 2018


This is the 8u-specific patch: we need to include our "logging translation" file to avoid this:

/pool/buildbot/slaves/sobornost/shenandoah-jdk8/build/hotspot/src/share/vm/runtime/arguments.cpp:1728:17:
error: ‘log_warning’ was not declared in this scope
   log_warning(gc)("Shenandoah GC is not fully supported on this platform:");
                 ^

Fix:

# HG changeset patch
# User shade
# Date 1524642530 -7200
#      Wed Apr 25 09:48:50 2018 +0200
# Node ID 9dfcf2200aef4275470cabe158b04a852e5a80fb
# Parent  98b7e3314350749b03c5d7581e0423af52eb7129
Fix non-PCH x86_32 build

diff -r 98b7e3314350 -r 9dfcf2200aef src/share/vm/runtime/arguments.cpp
--- a/src/share/vm/runtime/arguments.cpp	Mon Apr 16 13:58:14 2018 +0200
+++ b/src/share/vm/runtime/arguments.cpp	Wed Apr 25 09:48:50 2018 +0200
@@ -64,6 +64,7 @@
 #include "gc_implementation/g1/g1CollectedHeap.inline.hpp"
 #include "gc_implementation/parallelScavenge/parallelScavengeHeap.hpp"
 #include "gc_implementation/shenandoah/shenandoahHeap.hpp"
+#include "gc_implementation/shenandoah/shenandoahLogging.hpp"
 #endif // INCLUDE_ALL_GCS

 // Note: This is a special bug reporting site for the JVM

Thanks,
-Aleksey



More information about the shenandoah-dev mailing list