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

JVMTI lacks a few GC barriers/hooks

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 12
    • None
    • hotspot
    • None
    • b17
    • generic
    • generic

      In src/hotspot/share/prims/jvmtiTagMap.cpp, JvmtiTagHashmapEntry::equals(..) we need an equals barrier.

      In the same file, in the hash() function, it's converting the plain oop to an integer. The oop should better be resolved to a stable value there.

      Finally, in jvmtiExport.cpp, in JvmtiObjectAllocEventMark, we're missing an CH::obj_size() call instead of the 'raw' obj->size(), which is needed to make size reported by the callback and by GetObjectSize() consistent.

            rkennke Roman Kennke
            rkennke Roman Kennke
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: