Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 62303 invoked from network); 14 Aug 2007 14:59:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Aug 2007 14:59:52 -0000 Received: (qmail 19695 invoked by uid 500); 14 Aug 2007 14:59:50 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 19673 invoked by uid 500); 14 Aug 2007 14:59:50 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 19664 invoked by uid 99); 14 Aug 2007 14:59:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Aug 2007 07:59:50 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Aug 2007 14:59:51 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B2EC37141F4 for ; Tue, 14 Aug 2007 07:59:31 -0700 (PDT) Message-ID: <24299549.1187103571719.JavaMail.jira@brutus> Date: Tue, 14 Aug 2007 07:59:31 -0700 (PDT) From: "Gregory Shimansky (JIRA)" To: commits@harmony.apache.org Subject: [jira] Assigned: (HARMONY-4304) [buildtest][vts] Test vm/jvmti/events/MethodExit/MethodExit0101 has large log In-Reply-To: <14510442.1183108384859.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-4304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gregory Shimansky reassigned HARMONY-4304: ------------------------------------------ Assignee: Gregory Shimansky > [buildtest][vts] Test vm/jvmti/events/MethodExit/MethodExit0101 has large log > ----------------------------------------------------------------------------- > > Key: HARMONY-4304 > URL: https://issues.apache.org/jira/browse/HARMONY-4304 > Project: Harmony > Issue Type: Bug > Components: build - test - ci > Reporter: Vera Petrashkova > Assignee: Gregory Shimansky > Attachments: MethodExit0101.patch > > > Test vm/jvmti/events/MethodExit/MethodExit0101/MethodExit0101.xml > verifies that MethodExit event is generated for the used method. > But according to source code > (see > src/test/vm/jvmti/events/MethodExit/MethodExit010/MethodExit0101.cpp and > src/test/vm/jvmti/events/share/events.h) > this test checks information about all MethodExit events for all methods: > ---------------------- > void JNICALL callbackMethodExit(prms_METHOD_EXIT) > { > check_METHOD_EXIT; <<<<<<<<<<<<<<< should be removed > char* name = NULL; > char* signature = NULL; > char* generic = NULL; > jvmtiError result; > result = jvmti_env->GetMethodName(method, &name, &signature, &generic); > if (result != JVMTI_ERROR_NONE) return; > counter++; > if (strcmp(name, "special_method")) return; > fprintf(stderr, "\tnative: MethodExit (prms) jvmti_env is %p\n",jvmti_env); > fprintf(stderr, "\tnative: MethodExit (prms) jni_env is %p\n", jni_env); > fprintf(stderr, "\tnative: MethodExit (prms) thread is %p\n", thread); > fprintf(stderr, "\tnative: MethodExit (prms) method is %p\n", method); > fflush(stderr); > fprintf(stderr, "\tnative: GetMethodName result = %d (must be zero) \n",result); > fprintf(stderr, "\tnative: method is %p \n", method); > fprintf(stderr, "\tnative: name is %s \n", name); > fprintf(stderr, "\tnative: signature is %s \n", signature); > fprintf(stderr, "\tnative: generic is %s \n", generic); > fflush(stderr); > params = true; > } > -----------------events.h----------- > #define check_METHOD_EXIT \ > if (jvmti_env == NULL) \ > fprintf(stderr, \ > "\tcheck: MethodExit was called with jvmti_env = NULL\n"); \ > if (jni_env == NULL) \ > fprintf(stderr, \ > "\tcheck: MethodExit was called with jni_env = NULL\n"); \ > if (thread == NULL) \ > fprintf(stderr, \ > "\tcheck: MethodExit was called with thread = NULL\n"); \ > if (method == NULL) \ > fprintf(stderr, \ > "\tcheck: MethodExit was called with method = NULL\n"); \ > if (was_popped_by_exception == 0) \ > fprintf(stderr, \ > "\tcheck: MethodExit was called with popped_by_exc = 0\n"); > --------------------- > This test reports huge number of messages. > The test passes but it is needed a lot of time for its execution on Harmony. > As the result it fails with Timeout during QA cycle. > If we remove check_METHOD_EXIT then this test finishes in 1 minute -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.