Simplify ss.as_string(true /* on C-heap */) to ss.freeze()

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Won't Fix
    • Priority: P4
    • 26
    • Affects Version/s: None
    • Component/s: hotspot

      In a few places in our code we use this pattern:

            const char* msg = ss.as_string(true /* on C-heap */);
            log_debug(nmt)("%s", msg);

      which can be simplified to:

            log_debug(nmt)("%s", ss.freeze());

            Assignee:
            Coleen Phillimore
            Reporter:
            Gerard Ziemski (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: