changeset 13357:1658b112521e

8181860: [TESTBUG] serviceability/tmtools/jstack/utils/DefaultFormat.java does not recognize "sleeping" state Summary: Added sleeping state to regexp Reviewed-by: dcubed, gtriantafill
author iklam
date Wed, 19 Jul 2017 11:48:25 -0700
parents a361c7f25575
children ec1032146d69
files test/serviceability/tmtools/jstack/utils/DefaultFormat.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test/serviceability/tmtools/jstack/utils/DefaultFormat.java	Wed Jul 19 08:29:44 2017 -0700
+++ b/test/serviceability/tmtools/jstack/utils/DefaultFormat.java	Wed Jul 19 11:48:25 2017 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015, 2017, 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
@@ -55,7 +55,7 @@
     protected String threadInfoPattern() {
         return "^\"(.*)\"\\s(#\\d+\\s|)(daemon\\s|)prio=(.+)\\s(os_prio=(.+)\\s|)tid=(.+)\\snid=(.+)\\s("
                 + Consts.UNKNOWN
-                + "|runnable|waiting\\son\\scondition|in\\sObject\\.wait\\(\\)|waiting\\sfor\\smonitor\\sentry)((.*))$";
+                + "|runnable|sleeping|waiting\\son\\scondition|in\\sObject\\.wait\\(\\)|waiting\\sfor\\smonitor\\sentry)((.*))$";
     }
 
     protected String methodInfoPattern() {