JDK-8341332 : Refactor array chunking statistics counters
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Priority: P4
  • Status: Closed
  • Resolution: Not an Issue
  • Submitted: 2024-10-01
  • Updated: 2025-01-06
  • Resolved: 2024-12-22
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdResolved
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
After JDK-8339668 there is significant code duplication in management of the statistics counters for array chunking.

I.e. multiple classes add separate member variables, and the code added for that (updates and printing) has a significant amount of code duplication.

It would also be nice if the array chunking counters were printed next to the regular task queue counters, not below in separate lines.
Comments
Resolved as no longer an issue. Largely addressed by JDK-8345732. This part was not addressed: "It would also be nice if the array chunking counters were printed next to the regular task queue counters, not below in separate lines." The two sets of statistics (task queue counters and array chunking counters) are related but distinct, and merging them into one table doesn't seem like an improvement.
22-12-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/21343 Date: 2024-10-04 01:41:50 +0000
04-10-2024