Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 82857 invoked from network); 16 May 2007 14:48:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 May 2007 14:48:37 -0000 Received: (qmail 45705 invoked by uid 500); 16 May 2007 14:48:43 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 45679 invoked by uid 500); 16 May 2007 14:48:43 -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 45659 invoked by uid 99); 16 May 2007 14:48:43 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 May 2007 07:48:43 -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; Wed, 16 May 2007 07:48:36 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7F91171406B for ; Wed, 16 May 2007 07:48:16 -0700 (PDT) Message-ID: <20770253.1179326896519.JavaMail.jira@brutus> Date: Wed, 16 May 2007 07:48:16 -0700 (PDT) From: "Gregory Shimansky (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-3574) [drlvm][jvmti] monitor events handling code does not check whether "can_generate_monitor_events" capability is set In-Reply-To: <33154414.1175700932507.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-3574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gregory Shimansky updated HARMONY-3574: --------------------------------------- Summary: [drlvm][jvmti] monitor events handling code does not check whether "can_generate_monitor_events" capability is set (was: [jvmti] monitor events handling code does not check whether "can_generate_monitor_events" capability is set) > [drlvm][jvmti] monitor events handling code does not check whether "can_generate_monitor_events" capability is set > -------------------------------------------------------------------------------------------------------------------- > > Key: HARMONY-3574 > URL: https://issues.apache.org/jira/browse/HARMONY-3574 > Project: Harmony > Issue Type: Bug > Components: DRLVM > Environment: linux and windows 32/64 > Reporter: Rustem Rafikov > > Monitor events handling code does not check if the "can_generate_monitor_events" capability is requested. > It leads to performance degradation when running with jvmti. > Typical code is: > if (ti_is_enabled()) { > // do something > } > Need to add VM_Global_State::loader_env->TI->get_global_capability(DebugUtilsTI::TI_GC_ENABLE_MONITOR_EVENTS) as well probaly in ti_is_enabled() function (if it is used only for monitor events). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.