JFR: Clean up jdk.jfr

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 24
    • Affects Version/s: None
    • Component/s: hotspot
    • None
    • jfr
    • b06

      - Remove unused imports
      - Remove unused variable in instanceof
      - Use constants instead Integer.valueOf(-1) and Long.valueOf(0L)
      - Add final where missing
      - Prefer package protected classes over public classes
      - Use try-with-resources
      - Use Arrays.toString(...) instead of Arrays.asList(...).toString();

            Assignee:
            Erik Gahlin
            Reporter:
            Erik Gahlin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: