harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Rebriy (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-4862) [drlvm][jvmti] TI->setLocallyDisabled() disables whole TI functionality while should disable TI event reporting only
Date Thu, 27 Sep 2007 08:03:50 GMT
[drlvm][jvmti] TI->setLocallyDisabled() disables whole TI functionality while should disable
TI event reporting only
--------------------------------------------------------------------------------------------------------------------

                 Key: HARMONY-4862
                 URL: https://issues.apache.org/jira/browse/HARMONY-4862
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
            Reporter: Pavel Rebriy


JVMTI function TI->setLocallyDisabled() disables locally TI that is TI->isEnabled()
returns false.
The function is called when Java methods is executed into TI method (for instance, jvmtiGetThreadInfo()).
Such behavior leads to unstable execution of TI functions. There is several examples:

1. SingleStep (or BreakPoint) event is set while another thread is called any Java methods
in setLocallyDisabled() mode. Any hardware exceptions occupied during execution of Java method
in setLocallyDisabled() mode cannot be processed because TI->isEnabled() returns false.
2. JIT compilation of Java methods in setLocallyDisabled() mode doesn't add any instrumentation
in it because TI->isEnabled() returns false.
and so on.

The issue is created to fix TI->isEnabled() to check TI enable status only and create function
TI->canReport() to call it before any reporting which checks TI->isLocallyEnabled()
status.

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