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

Replace exception from sun.rmi.runtime.Log#getSource() with StackWalker

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 14
    • Fix Version/s: 14
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b12

      Description

      As described in OpenJDK email, constructing an exception to extract the class and method is expensive.
      Using the StackWalker API is more direct and efficient.

      See
      http://mail.openjdk.java.net/pipermail/core-libs-dev/2019-August/061987.html

        Attachments

          Activity

            People

            • Assignee:
              rriggs Roger Riggs
              Reporter:
              rriggs Roger Riggs
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: