changeset 46693:1a9ef5f37bf0

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 117b089cb1c3
children d762fbd03dde
files hotspot/test/serviceability/tmtools/jstack/utils/DefaultFormat.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/hotspot/test/serviceability/tmtools/jstack/utils/DefaultFormat.java	Wed Jul 19 08:29:44 2017 -0700
+++ b/hotspot/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() {