harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Fursov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-2080) [drlvm][jit] Jitrino must return JIT_FAILURE if method compilation was not finished
Date Tue, 07 Nov 2006 12:16:50 GMT
[drlvm][jit] Jitrino must return JIT_FAILURE if method compilation was not finished
-----------------------------------------------------------------------------------

                 Key: HARMONY-2080
                 URL: http://issues.apache.org/jira/browse/HARMONY-2080
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
            Reporter: Mikhail Fursov
            Priority: Minor


The problem: Jitrino.OPT returns JIT_FAILURE if any of session actions (compilation steps)
is failed.
However, VM expects that if a JIT  returns JIT_SUCCESS the method is compiled and is ready
to be executed.
Here we have different interpretation of JIT_RESULT in VM and JIT and JIT must be fixed to
return JIT_FAILURE if method was not compiled to be executed.

To reproduce remove emitter or whole codegen part in JIT. In this case no code for method
will be emitted and JIT will  return JIT_SUCCESS.
Example:
run any (HelloWorld) application with 
-Xem:opt -Djit.CS_OPT.path.codegen=lock_method,unlock_method 
option

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