VS2017 Unable to Instantiate OrderAccess::release_store with an Incomplete Class Within an Inlined Method

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 11
    • Affects Version/s: 11
    • Component/s: hotspot
    • b03
    • windows
    • Verified

      abstractInterpreter.cpp
      <directory>\open\src\hotspot\share\runtime/orderAccess.inline.hpp(59): error C2027: use of undefined type 'Atomic::StoreImpl<T,D,OrderAccess::PlatformOrderedStore<8,RELEASE_X>,void>'
              with
              [
                  T=ClassPathEntry *,
                  D=ClassPathEntry *
              ]
      <directory>\open\src\hotspot\share\runtime/orderAccess.inline.hpp(59): note: see declaration of 'Atomic::StoreImpl<T,D,OrderAccess::PlatformOrderedStore<8,RELEASE_X>,void>'
              with
              [
                  T=ClassPathEntry *,
                  D=ClassPathEntry *
              ]
      <directory>\open\src\hotspot\share\classfile/classLoader.hpp(57): note: see reference to function template instantiation 'void OrderAccess::release_store<ClassPathEntry*,ClassPathEntry*>(volatile D *,T)' being compiled
              with
              [
                  D=ClassPathEntry *,
                  T=ClassPathEntry *
              ]
      <directory>\open\src\hotspot\share\runtime/orderAccess.inline.hpp(59): error C2027: use of undefined type 'Atomic::StoreImpl<T,D,OrderAccess::PlatformOrderedStore<8,RELEASE_X>,void>'
              with
              [
                  T=MethodData *,
                  D=MethodData *
              ]
      <directory>\open\src\hotspot\share\runtime/orderAccess.inline.hpp(59): note: see declaration of 'Atomic::StoreImpl<T,D,OrderAccess::PlatformOrderedStore<8,RELEASE_X>,void>'
              with
              [
                  T=MethodData *,
                  D=MethodData *
              ]
      <directory>\open\src\hotspot\share\oops/method.hpp(340): note: see reference to function template instantiation 'void OrderAccess::release_store<MethodData*,MethodData*>(volatile D *,T)' being compiled

            Assignee:
            Lois Foltan
            Reporter:
            Lois Foltan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: