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

remove assert to catch access to object headers in index_oop_from_field_offset_long

XMLWordPrintable

    • b36
    • generic
    • generic

        Graal uses Unsafe access to implement e.g. monitorenter and monitorexit in Java. The assert added with JDK-7012072 makes this impossible in debug builds.

        Furthermore it is inconsistent since the assert is only in unsafe.cpp. If we compile and intrinsify one of these Unsafe methods the check does not apply.

        Here are the two Graal changes that workaround this issue for now:

        http://hg.openjdk.java.net/graal/graal/rev/0f090aa237e7
        http://hg.openjdk.java.net/graal/graal/rev/6194aefabf1a

              anoll Albert Noll (Inactive)
              twisti Christian Thalinger (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: