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

[lworld] FieldModification event: new_value is invalid for Q objects

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: repo-valhalla
    • Fix Version/s: repo-valhalla
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      svc
    • CPU:
      generic
    • OS:
      generic

      Description

      primitive class MyPrimitive {
        ...
      }

      class Class1 {
          public final MyPrimitive fld1;
         ...
      }

      SetFieldModificationWatch for class Class1, field fld1 generates FieldModification event with bad new_object.
      Trying to use it causes crash:
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (open\src\hotspot\share\runtime\javaCalls.cpp:601), pid=16600, tid=7884
      # guarantee(oopDesc::is_oop_or_null(vv, true)) failed: Bad JNI oop argument 0: 0x00000000a0920208 -> 0x0000000000000005

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              amenkov Alex Menkov
              Reporter:
              amenkov Alex Menkov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: