Mercurial > hg > graal-jvmci-8
comparison src/share/vm/prims/jvmtiEnter.xsl @ 8668:3c9db54c2660
8008081: Print outs do not have matching arguments
Summary: Corrected formatted prints to have matching arguments, removed dead print_frame_layout function
Reviewed-by: sla, dholmes
author | mikael |
---|---|
date | Tue, 26 Feb 2013 08:54:03 -0800 |
parents | fb19af007ffc |
children | de6a9e811145 |
comparison
equal
deleted
inserted
replaced
8106:ec2eddfed950 | 8668:3c9db54c2660 |
---|---|
771 <xsl:text>); | 771 <xsl:text>); |
772 if (thread_oop == NULL) { | 772 if (thread_oop == NULL) { |
773 </xsl:text> | 773 </xsl:text> |
774 <xsl:apply-templates select=".." mode="traceError"> | 774 <xsl:apply-templates select=".." mode="traceError"> |
775 <xsl:with-param name="err">JVMTI_ERROR_INVALID_THREAD</xsl:with-param> | 775 <xsl:with-param name="err">JVMTI_ERROR_INVALID_THREAD</xsl:with-param> |
776 <xsl:with-param name="comment"> - jthread resolved to NULL - jthread = %0x%x</xsl:with-param> | 776 <xsl:with-param name="comment"> - jthread resolved to NULL - jthread = 0x%x</xsl:with-param> |
777 <xsl:with-param name="extraValue">, <xsl:value-of select="$name"/></xsl:with-param> | 777 <xsl:with-param name="extraValue">, <xsl:value-of select="$name"/></xsl:with-param> |
778 </xsl:apply-templates> | 778 </xsl:apply-templates> |
779 <xsl:text> | 779 <xsl:text> |
780 } | 780 } |
781 if (!thread_oop->is_a(SystemDictionary::Thread_klass())) { | 781 if (!thread_oop->is_a(SystemDictionary::Thread_klass())) { |
782 </xsl:text> | 782 </xsl:text> |
783 <xsl:apply-templates select=".." mode="traceError"> | 783 <xsl:apply-templates select=".." mode="traceError"> |
784 <xsl:with-param name="err">JVMTI_ERROR_INVALID_THREAD</xsl:with-param> | 784 <xsl:with-param name="err">JVMTI_ERROR_INVALID_THREAD</xsl:with-param> |
785 <xsl:with-param name="comment"> - oop is not a thread - jthread = %0x%x</xsl:with-param> | 785 <xsl:with-param name="comment"> - oop is not a thread - jthread = 0x%x</xsl:with-param> |
786 <xsl:with-param name="extraValue">, <xsl:value-of select="$name"/></xsl:with-param> | 786 <xsl:with-param name="extraValue">, <xsl:value-of select="$name"/></xsl:with-param> |
787 </xsl:apply-templates> | 787 </xsl:apply-templates> |
788 <xsl:text> | 788 <xsl:text> |
789 } | 789 } |
790 java_thread = java_lang_Thread::thread(thread_oop); | 790 java_thread = java_lang_Thread::thread(thread_oop); |
792 </xsl:text> | 792 </xsl:text> |
793 <xsl:apply-templates select=".." mode="traceError"> | 793 <xsl:apply-templates select=".." mode="traceError"> |
794 <xsl:with-param name="err"> | 794 <xsl:with-param name="err"> |
795 <xsl:text>JVMTI_ERROR_THREAD_NOT_ALIVE</xsl:text> | 795 <xsl:text>JVMTI_ERROR_THREAD_NOT_ALIVE</xsl:text> |
796 </xsl:with-param> | 796 </xsl:with-param> |
797 <xsl:with-param name="comment"> - not a Java thread - jthread = %0x%x</xsl:with-param> | 797 <xsl:with-param name="comment"> - not a Java thread - jthread = 0x%x</xsl:with-param> |
798 <xsl:with-param name="extraValue">, <xsl:value-of select="$name"/></xsl:with-param> | 798 <xsl:with-param name="extraValue">, <xsl:value-of select="$name"/></xsl:with-param> |
799 </xsl:apply-templates> | 799 </xsl:apply-templates> |
800 <xsl:text> | 800 <xsl:text> |
801 } | 801 } |
802 </xsl:text> | 802 </xsl:text> |
836 <xsl:text> | 836 <xsl:text> |
837 if (depth < 0) { | 837 if (depth < 0) { |
838 </xsl:text> | 838 </xsl:text> |
839 <xsl:apply-templates select=".." mode="traceError"> | 839 <xsl:apply-templates select=".." mode="traceError"> |
840 <xsl:with-param name="err">JVMTI_ERROR_ILLEGAL_ARGUMENT</xsl:with-param> | 840 <xsl:with-param name="err">JVMTI_ERROR_ILLEGAL_ARGUMENT</xsl:with-param> |
841 <xsl:with-param name="comment"> - negative depth - jthread = %0x%x</xsl:with-param> | 841 <xsl:with-param name="comment"> - negative depth - jthread = 0x%x</xsl:with-param> |
842 <xsl:with-param name="extraValue">, <xsl:value-of select="$name"/></xsl:with-param> | 842 <xsl:with-param name="extraValue">, <xsl:value-of select="$name"/></xsl:with-param> |
843 </xsl:apply-templates> | 843 </xsl:apply-templates> |
844 <xsl:text> | 844 <xsl:text> |
845 } | 845 } |
846 </xsl:text> | 846 </xsl:text> |