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

Add default constructor to VectorSet to use Thread::current()->resource_area() as arena by default

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 16
    • 16
    • hotspot
    • b04

    Description

      The pattern

       Arena *a = Thread::current()->resource_area();
       VectorSet visited(a);

      can be found quite often in the code. We could clean this up by adding a default constructor to VectorSet which uses Thread::current()->resource_area() as arena by default (as already done, for example, for Node_List).

      Attachments

        Activity

          People

            chagedorn Christian Hagedorn
            chagedorn Christian Hagedorn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: