Skip to content

Commit 9fbcc00

Browse files
committedFeb 20, 2024
8326127: JFR: Add SafepointCleanupTask to hardToTestEvents of TestLookForUntestedEvents
Reviewed-by: mgronlun
1 parent 7d32a1a commit 9fbcc00

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
 

‎test/jdk/jdk/jfr/event/metadata/TestLookForUntestedEvents.java

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2018, 2023, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -56,7 +56,8 @@ public class TestLookForUntestedEvents {
5656
Arrays.asList(
5757
"DataLoss", "IntFlag", "ReservedStackActivation", "NativeLibraryUnload",
5858
"DoubleFlag", "UnsignedLongFlagChanged", "IntFlagChanged",
59-
"UnsignedIntFlag", "UnsignedIntFlagChanged", "DoubleFlagChanged")
59+
"UnsignedIntFlag", "UnsignedIntFlagChanged", "DoubleFlagChanged",
60+
"SafepointCleanupTask")
6061
);
6162

6263
// GC uses specific framework to test the events, instead of using event names literally.

‎test/jdk/jdk/jfr/event/runtime/TestSafepointEvents.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2013, 2023, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2013, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -52,7 +52,6 @@ public class TestSafepointEvents {
5252
static final String[] EVENT_NAMES = new String[] {
5353
EventNames.SafepointBegin,
5454
EventNames.SafepointStateSynchronization,
55-
// EventNames.SafepointCleanupTask,
5655
EventNames.SafepointCleanup,
5756
EventNames.SafepointEnd
5857
};

0 commit comments

Comments
 (0)