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

Remove HandleAllocationLimit and TotalHandleAllocationLimit when removing TraceHandleAllocation

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P3
    • 9
    • 9
    • hotspot
    • b112

    Description

      HandleAllocationLimit and TotalHandleAllocationLimit according to this piece of code:

        notproduct(size_t, HandleAllocationLimit, 1024, \
                "Threshold for HandleMark allocation when +TraceHandleAllocation "\
                "is used") \

      and:

        // The thread local handle areas should not get very large
        if (TraceHandleAllocation && (size_t)handles_visited > TotalHandleAllocationLimit) {
      #ifdef ASSERT
          warning("%d: Visited in HandleMark : " SIZE_FORMAT, _nof_handlemarks, handles_visited);
      #else
          warning("Visited in HandleMark : " SIZE_FORMAT, handles_visited);
      #endif
        }

      are only used if TraceHandleAllocation is ON, so they should be removed alongside TraceHandleAllocation (JDK-8146850)

      Attachments

        Issue Links

          Activity

            People

              gziemski Gerard Ziemski
              gziemski Gerard Ziemski
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: