-
Enhancement
-
Resolution: Fixed
-
P4
-
13
-
b27
-
generic
-
linux
Currently, -XX:+PrintPreciseRTMLockingStatistics prints RTM abort and lock statistics per type mentioning only the type number, like:
- * # rtm locks total (estimated): 0
- * # rtm lock aborts : 13
- * # rtm lock aborts 0: 12
- * # rtm lock aborts 1: 0
- * # rtm lock aborts 2: 0
- * # rtm lock aborts 3: 0
- * # rtm lock aborts 4: 0
- * # rtm lock aborts 5: 0
It's a bit difficult to remember all types given the numbers, hence adding descriptions for each type will help a lot to read the statistics without referring to the source code, like:
+ * # rtm locks total (estimated): 10000
+ * # rtm lock aborts (total): 9000
+ * # rtm lock aborts 0 (abort instruction ): 8999
+ * # rtm lock aborts 1 (may succeed on retry): 8999
+ * # rtm lock aborts 2 (conflict ): 0
+ * # rtm lock aborts 3 (buffer overflow ): 1
+ * # rtm lock aborts 4 (debug or trap hit ): 0
+ * # rtm lock aborts 5 (maximum nested depth): 0
- * # rtm locks total (estimated): 0
- * # rtm lock aborts : 13
- * # rtm lock aborts 0: 12
- * # rtm lock aborts 1: 0
- * # rtm lock aborts 2: 0
- * # rtm lock aborts 3: 0
- * # rtm lock aborts 4: 0
- * # rtm lock aborts 5: 0
It's a bit difficult to remember all types given the numbers, hence adding descriptions for each type will help a lot to read the statistics without referring to the source code, like:
+ * # rtm locks total (estimated): 10000
+ * # rtm lock aborts (total): 9000
+ * # rtm lock aborts 0 (abort instruction ): 8999
+ * # rtm lock aborts 1 (may succeed on retry): 8999
+ * # rtm lock aborts 2 (conflict ): 0
+ * # rtm lock aborts 3 (buffer overflow ): 1
+ * # rtm lock aborts 4 (debug or trap hit ): 0
+ * # rtm lock aborts 5 (maximum nested depth): 0
- duplicates
-
JDK-8223969 jtreg: Adapt RTM tests to new output of RTM locking statistics
-
- Closed
-
- relates to
-
JDK-8223969 jtreg: Adapt RTM tests to new output of RTM locking statistics
-
- Closed
-