Merge branch '2.1.x'

This commit is contained in:
Andy Wilkinson 2019-02-19 09:39:38 +00:00
commit e6764bdc5a
1 changed files with 8 additions and 7 deletions

View File

@ -84,20 +84,21 @@ public class ThreadDumpEndpointDocumentationTests
.description(
"Description of the object on which the "
+ "thread is blocked, if any.")
.optional(),
fieldWithPath("threads.[].lockInfo").description(
"Object for which the thread is blocked "
+ "waiting.")
.optional(),
.optional().type(JsonFieldType.STRING),
fieldWithPath("threads.[].lockInfo")
.description(
"Object for which the thread is blocked "
+ "waiting.")
.optional().type(JsonFieldType.OBJECT),
fieldWithPath("threads.[].lockInfo.className")
.description(
"Fully qualified class name of the lock"
+ " object.")
.optional(),
.optional().type(JsonFieldType.STRING),
fieldWithPath("threads.[].lockInfo.identityHashCode")
.description(
"Identity hash code of the lock object.")
.optional(),
.optional().type(JsonFieldType.NUMBER),
fieldWithPath("threads.[].lockedMonitors").description(
"Monitors locked by this thread, if any"),
fieldWithPath("threads.[].lockedMonitors.[].className")