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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 11
    • 11
    • 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

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

              Created:
              Updated:
              Resolved: