Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8208635

Minimal VM build is broken after JDK-8199868 (Support JNI critical functions in object pinning API)

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 12
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b06

      Description

       class CollectedHeap;
             ^~~~~~~~~~~~~
      /pool/buildbot/slaves/sobornost/jdkX/build/src/hotspot/cpu/x86/sharedRuntime_x86_64.cpp:2300:31: error: invalid use of incomplete type ‘class CollectedHeap’
                 if (Universe::heap()->supports_object_pinning()) {
                                     ^~
      In file included from /pool/buildbot/slaves/sobornost/jdkX/build/src/hotspot/share/oops/array.hpp:29:0,
                       from /pool/buildbot/slaves/sobornost/jdkX/build/src/hotspot/share/memory/universe.hpp:28,
                       from /pool/buildbot/slaves/sobornost/jdkX/build/src/hotspot/share/code/oopRecorder.hpp:28,
                       from /pool/buildbot/slaves/sobornost/jdkX/build/src/hotspot/share/asm/codeBuffer.hpp:28,
                       from /pool/buildbot/slaves/sobornost/jdkX/build/src/hotspot/share/asm/assembler.hpp:28,
                       from /pool/buildbot/slaves/sobornost/jdkX/build/src/hotspot/share/asm/macroAssembler.hpp:28,
                       from /pool/buildbot/slaves/sobornost/jdkX/build/src/hotspot/cpu/x86/sharedRuntime_x86_64.cpp:29:
      /pool/buildbot/slaves/sobornost/jdkX/build/src/hotspot/share/memory/metaspace.hpp:64:7: note: forward declaration of ‘class CollectedHeap’
       class CollectedHeap;
             ^~~~~~~~~~~~~

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                zgu Zhengyu Gu
                Reporter:
                shade Aleksey Shipilev
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: