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

Refactor ResourceMark and DeoptResourceMark for better code sharing

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 16
    • Fix Version/s: 16
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b13

      Description

      The construction and initialization for the ResourceMark class can be significantly simplified by using delegating constructors.

      DeoptResourceMark has all the same issues, since it was a copy-paste-lightly-modify of ResourceMark. The two can benefit from some code merging, in addition to the constructor simplification that was initially intended.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kbarrett Kim Barrett
              Reporter:
              kbarrett Kim Barrett
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: