Package gw.lang.reflect.module
Class TypeSystemLockHelper
java.lang.Object
gw.lang.reflect.module.TypeSystemLockHelper
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static Boolean
We avoid doing deadlock detection with class loading if we're running in Studio primarily because the TIDB can grab the type system lock and hold it for a long time during TIDB initialization. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static void
dumpAllStackTraces
(Object objectToLock) static void
getTypeSystemLockWithMonitor
(Object objectToLock) static boolean
isMonitorOwner
(Thread thread, Object monitor) private static boolean
private static boolean
isTypeSystemLockOwner
(Thread thread)
-
Field Details
-
_bStudioRunning
We avoid doing deadlock detection with class loading if we're running in Studio primarily because the TIDB can grab the type system lock and hold it for a long time during TIDB initialization.
-
-
Constructor Details
-
TypeSystemLockHelper
public TypeSystemLockHelper()
-
-
Method Details
-
isStudioRunning
private static boolean isStudioRunning() -
getTypeSystemLockWithMonitor
-
dumpAllStackTraces
-
isTypeSystemLockOwner
-
isMonitorOwner
-