-
Enhancement
-
Resolution: Fixed
-
P3
-
9
-
b112
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)
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 (
- relates to
-
JDK-8146850 Remove TraceHandleAllocation rather than converting to UL
-
- Resolved
-