You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/hotspot/share/jfr/metadata/metadata.xml
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -453,10 +453,10 @@
453
453
<Fieldtype="ulong"contentType="bytes"name="regionEndWaste"label="Region End Wasted"description="Total memory wasted at the end of regions due to refill" />
454
454
<Fieldtype="uint"name="regionsRefilled"label="Region Refills"description="Number of regions refilled" />
455
455
<Fieldtype="ulong"name="numPlabsFilled"label="PLAB Fills"description="Number of PLABs filled" />
456
-
<Fieldtype="ulong"contentType="bytes"name="directAllocated"label="Allocated (direct)"description="Total memory allocated using direct allocation outside of PLABs" />
457
-
<Fieldtype="ulong"name="numDirectAllocated"label="Direct allocations"description="Number of direct allocations" />
458
-
<Fieldtype="ulong"contentType="bytes"name="failureUsed"label="Used (failure)"description="Total memory occupied by objects in regions where evacuation failed" />
459
-
<Fieldtype="ulong"contentType="bytes"name="failureWaste"label="Wasted (failure)"description="Total memory left unused in regions where evacuation failed" />
456
+
<Fieldtype="ulong"contentType="bytes"name="directAllocated"label="Allocated (Direct)"description="Total memory allocated using direct allocation outside of PLABs" />
457
+
<Fieldtype="ulong"name="numDirectAllocated"label="Direct Allocations"description="Number of direct allocations" />
458
+
<Fieldtype="ulong"contentType="bytes"name="failureUsed"label="Used (Failure)"description="Total memory occupied by objects in regions where evacuation failed" />
459
+
<Fieldtype="ulong"contentType="bytes"name="failureWaste"label="Wasted (Failure)"description="Total memory left unused in regions where evacuation failed" />
460
460
</Type>
461
461
462
462
<Eventname="G1EvacuationYoungStatistics"category="Java Virtual Machine, GC, Detailed"label="G1 Evacuation Statistics for Young"startTime="false"
@@ -523,7 +523,7 @@
523
523
<Eventname="PromotionFailed"category="Java Virtual Machine, GC, Detailed"label="Promotion Failed"startTime="false"description="Promotion of an object failed">
<Eventname="EvacuationFailed"category="Java Virtual Machine, GC, Detailed"label="Evacuation Failed"startTime="false"description="Evacuation of an object failed">
Asserts.assertNotEquals(label, null, "Label not allowed to be null");
165
-
Asserts.assertTrue(label.length() > 1, "Name must be at least two characters");
166
-
Asserts.assertTrue(label.length() < 45, "Label should not exceed 45 characters, use description to explain " + label);
167
-
Asserts.assertTrue(label.length() == label.trim().length(), "Label should not have trim character at start and end");
168
-
Asserts.assertTrue(Character.isUpperCase(label.charAt(0)), "Label should start with upper case letter");
169
-
for (inti = 0; i < label.length(); i++) {
170
-
charc = label.charAt(i);
171
-
Asserts.assertTrue(Character.isDigit(c) || Character.isAlphabetic(label.charAt(i)) || c == ' ' || c == '(' || c == ')' || c == '-', "Label should only consist of letters or space, found '" + label.charAt(i)
172
-
+ "'");
167
+
Asserts.assertTrue(label.length() > 1, "Label must be at least two characters");
168
+
Asserts.assertTrue(label.length() <= 45, "Label should not exceed 45 characters, use description to explain");
169
+
Asserts.assertTrue(label.length() == label.trim().length(), "Label should not have superfluous whitespace at start or end");
0 commit comments