RFR (XS) 8210355: Minimal and Zero non-PCH builds fail after JDK-8207343 (Automate vtable/itable stub size calculation)

Aleksey Shipilev shade at redhat.com
Tue Sep 4 10:28:55 UTC 2018


Bug:
  https://bugs.openjdk.java.net/browse/JDK-8210355

Fix:

diff -r 3ee917225506 src/hotspot/share/code/vtableStubs.cpp
--- a/src/hotspot/share/code/vtableStubs.cpp	Tue Sep 04 14:47:55 2018 +0800
+++ b/src/hotspot/share/code/vtableStubs.cpp	Tue Sep 04 12:23:23 2018 +0200
@@ -26,6 +26,7 @@
 #include "code/vtableStubs.hpp"
 #include "compiler/compileBroker.hpp"
 #include "compiler/disassembler.hpp"
+#include "logging/log.hpp"
 #include "memory/allocation.inline.hpp"
 #include "memory/resourceArea.hpp"
 #include "oops/instanceKlass.hpp"

Seems like it is transitively included from somewhere (compiler?) in most configuration, but it
breaks for Minimal and Zero non-PCH builds which are configured without C1/C2. Zero is still broken
by other thing.

Testing: Linux x86_64 minimal builds

Thanks,
-Aleksey

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20180904/d3b08606/signature.asc>


More information about the hotspot-compiler-dev mailing list