You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Pavel Ozhdikhin (JIRA)" <ji...@apache.org> on 2007/03/20 17:08:32 UTC

[jira] Created: (HARMONY-3446) [drlvm][jit][jet] Jitrino.JET fails to compile a nested jsr

[drlvm][jit][jet] Jitrino.JET fails to compile a nested jsr
-----------------------------------------------------------

                 Key: HARMONY-3446
                 URL: https://issues.apache.org/jira/browse/HARMONY-3446
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
         Environment: any
            Reporter: Pavel Ozhdikhin
            Priority: Minor


The Jitrino.JET fails to compile the test below. It hangs when built in release mode and fires the assertion when built in debug:

>win_ia32_msvc_debug\deploy\jdk\jre\bin\java.exe -Xem:jet -XX:vm.assert_dialog=false SubSub
Assertion failed: slot<m_max_stack, file c:\work\harmony\drlvm\trunk\working_vm\vm\jitrino\src\jet\sframe.h, line 357
...

The test:

.class public SubSub
.super java/lang/Object
.method public <init>()V
   aload_0
   invokespecial java/lang/Object/<init>()V
   return
.end method

;
; Subroutine is called from the other subroutine and
; from the top level code.
;
.method public static main([Ljava/lang/String;)V
   .limit stack 1
   .limit locals 2

   jsr LabelSub
   jsr LabelSubSub
   return
LabelSub:
   astore 1
   jsr LabelSubSub
   ret 1
LabelSubSub:
   astore 0
   ret 0
.end method


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HARMONY-3446) [drlvm][jit][jet] Jitrino.JET fails to compile a nested jsr

Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Varlamov resolved HARMONY-3446.
--------------------------------------

    Resolution: Fixed

Applied at r521708, regression test added. Thanks!

> [drlvm][jit][jet] Jitrino.JET fails to compile a nested jsr
> -----------------------------------------------------------
>
>                 Key: HARMONY-3446
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3446
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: any
>            Reporter: Pavel Ozhdikhin
>         Assigned To: Alexey Varlamov
>            Priority: Minor
>         Attachments: 0001-drlvm-jet-fix-for-HARMONY-3446-incorrect-cascade-JSR-processing-in-.jet.patch
>
>
> The Jitrino.JET fails to compile the test below. It hangs when built in release mode and fires the assertion when built in debug:
> >win_ia32_msvc_debug\deploy\jdk\jre\bin\java.exe -Xem:jet -XX:vm.assert_dialog=false SubSub
> Assertion failed: slot<m_max_stack, file c:\work\harmony\drlvm\trunk\working_vm\vm\jitrino\src\jet\sframe.h, line 357
> ...
> The test:
> .class public SubSub
> .super java/lang/Object
> .method public <init>()V
>    aload_0
>    invokespecial java/lang/Object/<init>()V
>    return
> .end method
> ;
> ; Subroutine is called from the other subroutine and
> ; from the top level code.
> ;
> .method public static main([Ljava/lang/String;)V
>    .limit stack 1
>    .limit locals 2
>    jsr LabelSub
>    jsr LabelSubSub
>    return
> LabelSub:
>    astore 1
>    jsr LabelSubSub
>    ret 1
> LabelSubSub:
>    astore 0
>    ret 0
> .end method

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-3446) [drlvm][jit][jet] Jitrino.JET fails to compile a nested jsr

Posted by "Alex Astapchuk (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Astapchuk updated HARMONY-3446:
------------------------------------

    Attachment: 0001-drlvm-jet-fix-for-HARMONY-3446-incorrect-cascade-JSR-processing-in-.jet.patch

The fix.

> [drlvm][jit][jet] Jitrino.JET fails to compile a nested jsr
> -----------------------------------------------------------
>
>                 Key: HARMONY-3446
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3446
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: any
>            Reporter: Pavel Ozhdikhin
>            Priority: Minor
>         Attachments: 0001-drlvm-jet-fix-for-HARMONY-3446-incorrect-cascade-JSR-processing-in-.jet.patch
>
>
> The Jitrino.JET fails to compile the test below. It hangs when built in release mode and fires the assertion when built in debug:
> >win_ia32_msvc_debug\deploy\jdk\jre\bin\java.exe -Xem:jet -XX:vm.assert_dialog=false SubSub
> Assertion failed: slot<m_max_stack, file c:\work\harmony\drlvm\trunk\working_vm\vm\jitrino\src\jet\sframe.h, line 357
> ...
> The test:
> .class public SubSub
> .super java/lang/Object
> .method public <init>()V
>    aload_0
>    invokespecial java/lang/Object/<init>()V
>    return
> .end method
> ;
> ; Subroutine is called from the other subroutine and
> ; from the top level code.
> ;
> .method public static main([Ljava/lang/String;)V
>    .limit stack 1
>    .limit locals 2
>    jsr LabelSub
>    jsr LabelSubSub
>    return
> LabelSub:
>    astore 1
>    jsr LabelSubSub
>    ret 1
> LabelSubSub:
>    astore 0
>    ret 0
> .end method

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (HARMONY-3446) [drlvm][jit][jet] Jitrino.JET fails to compile a nested jsr

Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Varlamov reassigned HARMONY-3446:
----------------------------------------

    Assignee: Alexey Varlamov

> [drlvm][jit][jet] Jitrino.JET fails to compile a nested jsr
> -----------------------------------------------------------
>
>                 Key: HARMONY-3446
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3446
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: any
>            Reporter: Pavel Ozhdikhin
>         Assigned To: Alexey Varlamov
>            Priority: Minor
>         Attachments: 0001-drlvm-jet-fix-for-HARMONY-3446-incorrect-cascade-JSR-processing-in-.jet.patch
>
>
> The Jitrino.JET fails to compile the test below. It hangs when built in release mode and fires the assertion when built in debug:
> >win_ia32_msvc_debug\deploy\jdk\jre\bin\java.exe -Xem:jet -XX:vm.assert_dialog=false SubSub
> Assertion failed: slot<m_max_stack, file c:\work\harmony\drlvm\trunk\working_vm\vm\jitrino\src\jet\sframe.h, line 357
> ...
> The test:
> .class public SubSub
> .super java/lang/Object
> .method public <init>()V
>    aload_0
>    invokespecial java/lang/Object/<init>()V
>    return
> .end method
> ;
> ; Subroutine is called from the other subroutine and
> ; from the top level code.
> ;
> .method public static main([Ljava/lang/String;)V
>    .limit stack 1
>    .limit locals 2
>    jsr LabelSub
>    jsr LabelSubSub
>    return
> LabelSub:
>    astore 1
>    jsr LabelSubSub
>    ret 1
> LabelSubSub:
>    astore 0
>    ret 0
> .end method

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-3446) [drlvm][jit][jet] Jitrino.JET fails to compile a nested jsr

Posted by "Alex Astapchuk (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12483441 ] 

Alex Astapchuk commented on HARMONY-3446:
-----------------------------------------

... 'build test' passed, on linux/ia32

> [drlvm][jit][jet] Jitrino.JET fails to compile a nested jsr
> -----------------------------------------------------------
>
>                 Key: HARMONY-3446
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3446
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: any
>            Reporter: Pavel Ozhdikhin
>            Priority: Minor
>         Attachments: 0001-drlvm-jet-fix-for-HARMONY-3446-incorrect-cascade-JSR-processing-in-.jet.patch
>
>
> The Jitrino.JET fails to compile the test below. It hangs when built in release mode and fires the assertion when built in debug:
> >win_ia32_msvc_debug\deploy\jdk\jre\bin\java.exe -Xem:jet -XX:vm.assert_dialog=false SubSub
> Assertion failed: slot<m_max_stack, file c:\work\harmony\drlvm\trunk\working_vm\vm\jitrino\src\jet\sframe.h, line 357
> ...
> The test:
> .class public SubSub
> .super java/lang/Object
> .method public <init>()V
>    aload_0
>    invokespecial java/lang/Object/<init>()V
>    return
> .end method
> ;
> ; Subroutine is called from the other subroutine and
> ; from the top level code.
> ;
> .method public static main([Ljava/lang/String;)V
>    .limit stack 1
>    .limit locals 2
>    jsr LabelSub
>    jsr LabelSubSub
>    return
> LabelSub:
>    astore 1
>    jsr LabelSubSub
>    ret 1
> LabelSubSub:
>    astore 0
>    ret 0
> .end method

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.