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

TestSAServer.java fails due to "sun.jvm.hotspot.types.WrongTypeException: field "_stack_traversal_mark"

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b21
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description

      The following test failed in the 2017-07-21 JDK10-hs nightly:

      compiler/ciReplay/TestSAServer.java
          Test failed due to "sun.jvm.hotspot.types.WrongTypeException: field
          "_stack_traversal_mark" in type nmethod is not of C integer type, but
          instead of type jlong" on Linux-AArch64 64-bit Server VM, Linux-X64
          64-bit Server VM, Linux-X64 32-bit Server VM, and Solaris SPARCv9
          64-bit Server VM.

          Looks like the _stack_traversal_mark was recently touched by this
          changeset:

          $ hg annot src/share/vm/code/nmethod.hpp | grep 'volatile jlong'
          13298: volatile jlong _stack_traversal_mark;

          $ hg annot src/share/vm/runtime/vmStructs.cpp | grep '_stack_traversal_mark'
          13298: volatile_nonstatic_field(nmethod, _stack_traversal_mark, jlong) \

          $ hg log -r 13298
          changeset: 13298:a3b8c747b6bf
          user: rkennke
          date: Fri Jul 07 12:49:11 2017 +0200
          summary: 8180932: Parallelize safepoint cleanup

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rkennke Roman Kennke
              Reporter:
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: