< prev index next > test/hotspot/jtreg/serviceability/sa/ClhsdbInspect.java
Print this page
/*
- * Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
// the key is a literal, searched in the jstack output; the value is a regex searched in the clhsdb output
Map<String, String> tokensMap = new HashMap<>();
tokensMap.put("(a java.lang.Class for LingeredAppWithLock)",
"instance of Oop for java/lang/Class");
tokensMap.put("Method*=", "Type is Method");
- tokensMap.put("(a java/util/concurrent/locks/AbstractQueuedSynchronizer$ConditionObject)",
- "instance of Oop for java/util/concurrent/locks/AbstractQueuedSynchronizer\\$ConditionObject");
+ tokensMap.put("(a java.lang.ref.ReferenceQueue$Lock)",
+ "instance of Oop for java/lang/ref/ReferenceQueue\\$Lock");
String[] lines = jstackOutput.split("\\R");
for (String key: tokensMap.keySet()) {
cmds = new ArrayList<String>();
< prev index next >