Skip to content

Commit dc94900

Browse files
committed
8358588: ThreadSnapshot.ThreadLock should be static nested class
Reviewed-by: alanb, sspitsyn, amenkov
1 parent ace70a6 commit dc94900

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/java.base/share/classes/jdk/internal/vm/ThreadSnapshot.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ private enum BlockerLockType {
175175
/**
176176
* Represents a locking operation of a thread at a specific stack depth.
177177
*/
178-
private class ThreadLock {
178+
private static class ThreadLock {
179179
private static final OwnedLockType[] lockTypeValues = OwnedLockType.values(); // cache
180180

181181
// set by the VM

0 commit comments

Comments
 (0)