harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rustem Rafikov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-3574) [jvmti] monitor events handling code does not check whether "can_generate_monitor_events" capability is set
Date Wed, 04 Apr 2007 15:35:32 GMT

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

Rustem Rafikov updated HARMONY-3574:
------------------------------------

    Description: 
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).





  was:
Monitor events handling code does not check if the "can_generate_monitor_events"  capability
is requested. 
It make 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).






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