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

JFR: Leak Profiler should avoid touching mark words

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • None
    • hotspot
    • jfr

      JDK-8279016 shows there is a problem with at least Shenandoah when JFR is enabled. Arguably, it is not JFR's business to touch any mark words, since that might accidentally interfere with other subsystems, not only the GC, but also locking, identity hash codes, etc -- e.g. the uses that are described in markWord.hpp.

      A separate data structure that tracks JFR-specific state would be preferred. This would be similar to e.g. the improvement to JVMTI: JDK-8283710. After we do this, we can revert parts of JDK-8279016.

            Unassigned Unassigned
            shade Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: