changeset 9067:80f646de7289

7027502: Remove demo/jvmti/hprof/MonitorTest.java from exclude list with additional debug output Reviewed-by: dholmes, sla, alanb Contributed-by: tristan.yan@oracle.com
author alanb
date Tue, 14 Jan 2014 14:54:05 +0000
parents 75ca5e2f48de
children 95c54d4f619d
files test/ProblemList.txt test/demo/jvmti/Context.java
diffstat 2 files changed, 8 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/test/ProblemList.txt	Tue Jan 14 06:41:10 2014 -0800
+++ b/test/ProblemList.txt	Tue Jan 14 14:54:05 2014 +0000
@@ -150,12 +150,6 @@
 # 6988950
 demo/jvmti/compiledMethodLoad/CompiledMethodLoadTest.java	generic-all
 
-# 7027502
-demo/jvmti/hprof/MonitorTest.java                               generic-all
-
-# 8027973
-javax/xml/jaxp/transform/jdk8004476/XSLTExFuncTest.java		windows-all
-
 ############################################################################
 
 # jdk_net
--- a/test/demo/jvmti/Context.java	Tue Jan 14 06:41:10 2014 -0800
+++ b/test/demo/jvmti/Context.java	Tue Jan 14 14:54:05 2014 +0000
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2004, 2014, 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
@@ -167,11 +167,16 @@
                     turn.notifyAll();
                 }
                 /* If we've had all our turns, break out of this loop */
-                if ( thread_turns == turns_taken ) {
+                if (thread_turns == turns_taken) {
+                    System.out.println("Loop end: thread got " + turns_taken
+                            + " turns, expected " + thread_turns);
                     break;
                 }
             }
-        } catch (InterruptedException intEx) { /* skip */ }
+        } catch (InterruptedException intEx) {
+            System.out.println("Got an InterruptedException:" + intEx);
+            /* skip */
+        }
 
         /* Make sure we got all our turns */
         if ( thread_turns != turns_taken ) {