src/hotspot/share/prims/jvmtiEnter.xsl
changeset 50392 625f9432612a
parent 49449 ef5d5d343e2a
child 51467 12997ebbc0d8
equal deleted inserted replaced
50391:2bea53d7a27b 50392:625f9432612a
     1 <?xml version="1.0"?> 
     1 <?xml version="1.0"?> 
     2 <!--
     2 <!--
     3  Copyright (c) 2002, 2017, Oracle and/or its affiliates. All rights reserved.
     3  Copyright (c) 2002, 2018, Oracle and/or its affiliates. All rights reserved.
     4  DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     5 
     5 
     6  This code is free software; you can redistribute it and/or modify it
     6  This code is free software; you can redistribute it and/or modify it
     7  under the terms of the GNU General Public License version 2 only, as
     7  under the terms of the GNU General Public License version 2 only, as
     8  published by the Free Software Foundation.
     8  published by the Free Software Foundation.
   569   bool transition;
   569   bool transition;
   570   if (Threads::number_of_threads() == 0) {
   570   if (Threads::number_of_threads() == 0) {
   571     transition = false;
   571     transition = false;
   572   } else {
   572   } else {
   573     this_thread = Thread::current_or_null();
   573     this_thread = Thread::current_or_null();
   574     transition = ((this_thread != NULL) &amp;&amp; !this_thread->is_VM_thread() &amp;&amp; !this_thread->is_ConcurrentGC_thread());
   574     transition = ((this_thread != NULL) &amp;&amp; !this_thread->is_Named_thread());
   575   }
   575   }
   576   if (transition) {</xsl:text>
   576   if (transition) {</xsl:text>
   577 	</xsl:otherwise>
   577 	</xsl:otherwise>
   578 
   578 
   579       </xsl:choose>
   579       </xsl:choose>