Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 88439 invoked from network); 2 Sep 2007 06:27:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Sep 2007 06:27:40 -0000 Received: (qmail 46773 invoked by uid 500); 2 Sep 2007 06:27:35 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 46753 invoked by uid 500); 2 Sep 2007 06:27:35 -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 46744 invoked by uid 99); 2 Sep 2007 06:27:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Sep 2007 23:27:35 -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; Sun, 02 Sep 2007 06:27:39 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id EE7C4714163 for ; Sat, 1 Sep 2007 23:27:18 -0700 (PDT) Message-ID: <24265580.1188714438965.JavaMail.jira@brutus> Date: Sat, 1 Sep 2007 23:27:18 -0700 (PDT) From: "Sergey Dmitriev (JIRA)" To: commits@harmony.apache.org Subject: [jira] Commented: (HARMONY-4703) [drlvm][thread] minor hythread_safe_point_other improvement In-Reply-To: <12878488.1188556230738.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-4703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12524322 ] Sergey Dmitriev commented on HARMONY-4703: ------------------------------------------ Just wanted to make you know that this patch is OK with Oracle App Server startup. > [drlvm][thread] minor hythread_safe_point_other improvement > ----------------------------------------------------------- > > Key: HARMONY-4703 > URL: https://issues.apache.org/jira/browse/HARMONY-4703 > Project: Harmony > Issue Type: Improvement > Components: DRLVM > Reporter: Aleksey Shipilev > Priority: Minor > Attachments: HARMONY-4703.patch > > > Current implementation of hythread_safe_point_other which is called from hythread_suspend_disable looks like this: > void VMCALL hythread_safe_point_other(hythread_t thread) > { > thread_safe_point_impl(tm_self_tls); > } > So, we are receiving hythread itself as the argument, then we throw it away and ask again for hythread_self via tm_self_tls alias. > We might throw away one TLS get then by simply passing thread downstream: > void VMCALL hythread_safe_point_other(hythread_t thread) > { > thread_safe_point_impl(thread); > } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.