Lilliput2: JFR Leak Profiler needs re-working when +UseCompactObjectHeaders

XMLWordPrintable

      The JFR leak profiler stores an encoded reference to a (canonical) path from roots to each of a set of sampled objects after GC at some interval in the space available in the displaced mark word on the sampled object's header. With Lilliput2, there isn't enough space to store such information in the header. Instead, we probably want to use a side hashtable to temporarily keep such information.

      In a linked ticket, we will disable the Leak Profiler when Lilliput2's UseCompactObjectHeaders is enabled. (This is already done, e.g., for Shenanodah GC.)

      We'll also disable tests of the LeakProfiler when Lilliput2's UseCompactObjectHeaders is enabled.

      The JFR Leak Profiler workaround and the disabled tests should be re-enabled once the Leak Profiler is reworked to not use the object header in this manner in Lilliput2 with +UseCompactObjectHeaders.

            Assignee:
            Unassigned
            Reporter:
            Y. Ramakrishna
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: