JDK-8223639 : [JVMCI] jvmciCompiler.cpp needs to include "oops/objArrayOop.inline.hpp""
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 11,13
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: os_x
  • CPU: x86
  • Submitted: 2019-05-09
  • Updated: 2020-04-27
  • Resolved: 2019-05-09
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 13
13 b21Fixed
Related Reports
Duplicate :  
Relates :  
Description
I get:

Undefined symbols for architecture x86_64:
  "objArrayOopDesc::obj_at(int) const", referenced from:
      JVMCICompiler::force_comp_at_level_simple(Method*) in jvmciCompiler.o
ld: symbol(s) not found for architecture x86_64

when trying to link jvmciCompiler.cpp via Xcode without:

#include "oops/objArrayOop.inline.hpp"
Comments
I changed it to Bug because it causes build failure.
09-05-2019

Looks good. Please, send RFR.
09-05-2019

diff -r 04f603ebb6c2 src/hotspot/share/jvmci/jvmciCompiler.cpp --- a/src/hotspot/share/jvmci/jvmciCompiler.cpp Thu May 09 17:28:27 2019 +0200 +++ b/src/hotspot/share/jvmci/jvmciCompiler.cpp Thu May 09 11:22:49 2019 -0500 @@ -26,6 +26,7 @@ #include "classfile/moduleEntry.hpp" #include "jvmci/jvmciEnv.hpp" #include "jvmci/jvmciRuntime.hpp" +#include "oops/objArrayOop.inline.hpp" #include "runtime/handles.inline.hpp" JVMCICompiler* JVMCICompiler::_instance = NULL;
09-05-2019