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

JDK-8209189 incorrect for Big Endian (JVM crashes)

    Details

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

      Description

      JVM crashes on Big Endian platforms (PPC64 BE (linux + AIX) and SPARC) were observed while running JCK api tests since JDK-8209189 was pushed.
      Examples:
      dependencyContext.cpp:164 assert(!find_stale_entries()) failed: inconsistent info
      SIGSEGV in DependencyContext::remove_dependent_nmethod(nmethod*,bool)+0x8c

      Root cause seems to be the implementation of IsUnloadingUnion which is incorrect for Big Endian.
      The size of IsUnloadingStruct was observed as 4 bytes on many platforms. In this case, the bit fields and the _value field are disjoint which breaks the intended usage.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                eosterlund Erik Ă–sterlund
                Reporter:
                mdoerr Martin Doerr
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: