You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Gregory Shimansky (JIRA)" <ji...@apache.org> on 2007/05/16 16:48:16 UTC

[jira] Updated: (HARMONY-3574) [drlvm][jvmti] monitor events handling code does not check whether "can_generate_monitor_events" capability is set

     [ 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.