8358588: ThreadSnapshot.ThreadLock should be static nested class
Reviewed-by: alanb, sspitsyn, amenkov
This commit is contained in:
parent
ace70a6d6a
commit
dc949003de
@ -175,7 +175,7 @@ class ThreadSnapshot {
|
|||||||
/**
|
/**
|
||||||
* Represents a locking operation of a thread at a specific stack depth.
|
* Represents a locking operation of a thread at a specific stack depth.
|
||||||
*/
|
*/
|
||||||
private class ThreadLock {
|
private static class ThreadLock {
|
||||||
private static final OwnedLockType[] lockTypeValues = OwnedLockType.values(); // cache
|
private static final OwnedLockType[] lockTypeValues = OwnedLockType.values(); // cache
|
||||||
|
|
||||||
// set by the VM
|
// set by the VM
|
||||||
|
Loading…
x
Reference in New Issue
Block a user