harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Pervov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-3574) [drlvm][jvmti] monitor events handling code does not check whether "can_generate_monitor_events" capability is set
Date Thu, 20 Sep 2007 16:19:31 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-3574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12529140
] 

Pavel Pervov commented on HARMONY-3574:
---------------------------------------

Since we usually have only one JVMTI environment in one debugging virtual machine, it is only
worth doing for sake of data locality to introduce "monitor_enter_requested" flag into JVMTI
environment.
So, I'd suggest at least to decrease priority of this task or close this task as WONTFIX at
all.

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


Mime
View raw message