JDK-8210355 : Minimal and Zero non-PCH builds fail after JDK-8207343 (Automate vtable/itable stub size calculation)
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 11,12
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-09-04
  • Updated: 2022-02-06
  • Resolved: 2018-09-04
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 12
11.0.2Fixed 12 b10Fixed
Related Reports
Relates :  
Description
Fails like:

/pool/buildbot/slaves/sobornost/jdkX/build/src/hotspot/share/code/vtableStubs.cpp: In static member function 'static void VtableStubs::check_and_set_size_limit(bool, int, int)':
/pool/buildbot/slaves/sobornost/jdkX/build/src/hotspot/share/code/vtableStubs.cpp:154:24: error: 'Trace' was not declared in this scope
     if (log_is_enabled(Trace, vtablestubs)) {
                        ^~~~~
/pool/buildbot/slaves/sobornost/jdkX/build/src/hotspot/share/code/vtableStubs.cpp:154:31: error: 'vtablestubs' was not declared in this scope
     if (log_is_enabled(Trace, vtablestubs)) {
                               ^~~~~~~~~~~
/pool/buildbot/slaves/sobornost/jdkX/build/src/hotspot/share/code/vtableStubs.cpp:154:42: error: 'log_is_enabled' was not declared in this scope
     if (log_is_enabled(Trace, vtablestubs)) {
                                          ^
/pool/buildbot/slaves/sobornost/jdkX/build/src/hotspot/share/code/vtableStubs.cpp:156:30: error: 'log_trace' was not declared in this scope
   ... (rest of output omitted)
Comments
Fix Request - follow-up fix to JDK-8207343 - fixes a build issue - required if JDK-8207343 is approved, obsolete otherwise - applies cleanly after JDK-8207343 - risk is considered low to non-existent
26-10-2018

URL: http://hg.openjdk.java.net/jdk/jdk/rev/d5ba88422499 User: shade Date: 2018-09-04 11:21:51 +0000
04-09-2018

I think a simple include is missing: 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"
04-09-2018