8210131: vmTestbase/nsk/jvmti/scenarios/allocation/AP10/ap10t001/TestDescription.java failed with ObjectFree: GetCurrentThreadCpuTimerInfo returned unexpected error code
authorkbarrett
Fri, 07 Sep 2018 14:44:52 -0400
changeset 51673 53e61697a020
parent 51672 b613bf6a10b1
child 51674 d7dcaacb95dd
8210131: vmTestbase/nsk/jvmti/scenarios/allocation/AP10/ap10t001/TestDescription.java failed with ObjectFree: GetCurrentThreadCpuTimerInfo returned unexpected error code Summary: Expanded permitted threads to include all NamedThreads. Reviewed-by: dcubed, sspitsyn
src/hotspot/share/prims/jvmtiEnter.xsl
test/hotspot/jtreg/ProblemList.txt
--- a/src/hotspot/share/prims/jvmtiEnter.xsl	Fri Sep 07 09:50:02 2018 -0700
+++ b/src/hotspot/share/prims/jvmtiEnter.xsl	Fri Sep 07 14:44:52 2018 -0400
@@ -405,7 +405,7 @@
     <xsl:otherwise> 
       <xsl:choose>
         <xsl:when test="count(@phase)=0 or contains(@phase,'live') or contains(@phase,'start')">
-	  <xsl:text>if (this_thread == NULL || (!this_thread->is_Java_thread() &amp;&amp; !this_thread->is_VM_thread())) {</xsl:text>
+	  <xsl:text>if (this_thread == NULL || (!this_thread->is_Java_thread() &amp;&amp; !this_thread->is_Named_thread())) {</xsl:text>
         </xsl:when>
         <xsl:otherwise>
           <xsl:text>if (!this_thread->is_Java_thread()) {</xsl:text> 
--- a/test/hotspot/jtreg/ProblemList.txt	Fri Sep 07 09:50:02 2018 -0700
+++ b/test/hotspot/jtreg/ProblemList.txt	Fri Sep 07 14:44:52 2018 -0400
@@ -181,7 +181,6 @@
 vmTestbase/nsk/jvmti/ResourceExhausted/resexhausted003/TestDescription.java 6606767 generic-all
 vmTestbase/nsk/jvmti/ResourceExhausted/resexhausted004/TestDescription.java 7013634,6606767 generic-all
 vmTestbase/nsk/jvmti/ThreadStart/threadstart001/TestDescription.java 8016181 generic-all
-vmTestbase/nsk/jvmti/scenarios/allocation/AP10/ap10t001/TestDescription.java 8210131 generic-all
 vmTestbase/nsk/jvmti/scenarios/extension/EX03/ex03t001/TestDescription.java 8173658 generic-all
 vmTestbase/nsk/jvmti/scenarios/hotswap/HS102/hs102t002/TestDescription.java 8204506,8203350 generic-all
 vmTestbase/nsk/jvmti/scenarios/hotswap/HS204/hs204t001/hs204t001.java 6813266 generic-all