Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 1861 invoked from network); 28 Dec 2007 13:02:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Dec 2007 13:02:32 -0000 Received: (qmail 29369 invoked by uid 500); 28 Dec 2007 13:02:21 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 29269 invoked by uid 500); 28 Dec 2007 13:02:21 -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 29250 invoked by uid 99); 28 Dec 2007 13:02:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Dec 2007 05:02:21 -0800 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; Fri, 28 Dec 2007 13:02:07 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7CD4B714231 for ; Fri, 28 Dec 2007 05:02:11 -0800 (PST) Message-ID: <5027309.1198846931509.JavaMail.jira@brutus> Date: Fri, 28 Dec 2007 05:02:11 -0800 (PST) From: "Gregory Shimansky (JIRA)" To: commits@harmony.apache.org Subject: [jira] Closed: (HARMONY-4905) [drlvm][thread] Last thread event before stick in Join is incorrect In-Reply-To: <5726182.1191849110630.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-4905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gregory Shimansky closed HARMONY-4905. -------------------------------------- Resolution: Fixed Assignee: Gregory Shimansky Ok closing the bug according to evaluation. > [drlvm][thread] Last thread event before stick in Join is incorrect > ------------------------------------------------------------------- > > Key: HARMONY-4905 > URL: https://issues.apache.org/jira/browse/HARMONY-4905 > Project: Harmony > Issue Type: Bug > Components: DRLVM > Environment: Windows XP > Reporter: Alexander N. Alexeev > Assignee: Gregory Shimansky > Attachments: event_log.txt, pack.zip > > > When one thread spawns another and joins it, waiting for its > termination, it becomes blocked on monitor (from last handled event > JVMTI_EVENT_MONITOR_CONTENDED_ENTER for that thread before 'sleep") , > while in other VMs (Sun's, IBM's and BEA's) thread which calls "Join" > starts waiting (last event is JVMTI_EVENT_MONITOR_WAIT before > 'sleep"). Probably set of events depends on VM internals, but in > common sense "waited" state is more suitable for thread which waits > for other thread termination. > Events sequence can be seen at attached event_log.txt, place in trace where Join happens is marked. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.