Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 72180 invoked from network); 17 Apr 2007 05:48:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Apr 2007 05:48:37 -0000 Received: (qmail 10550 invoked by uid 500); 17 Apr 2007 05:48:42 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 10448 invoked by uid 500); 17 Apr 2007 05:48:42 -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 10438 invoked by uid 99); 17 Apr 2007 05:48:42 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Apr 2007 22:48:42 -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; Mon, 16 Apr 2007 22:48:35 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8A221714073 for ; Mon, 16 Apr 2007 22:48:15 -0700 (PDT) Message-ID: <13566001.1176788895563.JavaMail.jira@brutus> Date: Mon, 16 Apr 2007 22:48:15 -0700 (PDT) From: "Alexey Varlamov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Commented: (HARMONY-3537) [drlvm]Race conditions while HWA running on interpreter In-Reply-To: <22825038.1175436272519.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-3537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489308 ] Alexey Varlamov commented on HARMONY-3537: ------------------------------------------ One more note, please put such marks inside ifdef too: + UNSAFE_REGION_START #ifdef VM_STATS VM_Statistics::get_vm_stats().num_jni_handles_wasted_refs += (h->capacity - h->size); #endif //VM_STATS + UNSAFE_REGION_END > [drlvm]Race conditions while HWA running on interpreter > ------------------------------------------------------- > > Key: HARMONY-3537 > URL: https://issues.apache.org/jira/browse/HARMONY-3537 > Project: Harmony > Issue Type: Improvement > Components: DRLVM > Reporter: Ilya Leviev > Assigned To: weldon washburn > Attachments: HARMONY-3537-mark_hwa_race_conditions.patch, HARMONY-3537-mark_hwa_race_conditions_update.patch > > > TC report about race conditions while HWA running on interpreter(debug mode). As it not affect on correctness of program execution I have marked it by special API for prevention of further alarms on this race conditions. > The patch marks such race at TM module and at VMCORE/objects. > Notes: > The patch contains 3 parts. > 1) - Add new header file (port/include/port_nonatomic.h) which define functions that mark start and end points of code area where thread unsafe operations are performed. > 2) - Mark VMCORE/objects race conditions at vmcore/src/object/object_handles.cpp by defined functions. > 3) - Mark TM race conditions at thread/src/thread_native_thin_monitor.c by defined functions. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.