harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ilya Berezhniuk (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-2531) [drlvm][jvmti] Incorrect code type when HWE occures on JIT breakpoint
Date Thu, 07 Dec 2006 22:37:21 GMT
[drlvm][jvmti] Incorrect code type when HWE occures on JIT breakpoint
---------------------------------------------------------------------

                 Key: HARMONY-2531
                 URL: http://issues.apache.org/jira/browse/HARMONY-2531
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
         Environment: ia32
            Reporter: Ilya Berezhniuk
            Priority: Minor


When JVMTI breakpoint is occured in JITted code, execution is stopped on instrumented instruction.
To continue execution, breakpoint handler copies original instruction to special buffer and
executes it.

When such instruction produces hardware exception, exception handler/signal handlers receive
buffer address instead of original address and cannot detect code type correctly. So HWE in
instrumented Java code is interpreted as HWE in native code.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message