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] Commented: (HARMONY-3069) [drlvm][jit] JIT deinit methods not called after System.exit(...)
Date Wed, 15 Aug 2007 08:03:30 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-3069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12519891
] 

Mikhail Fursov commented on HARMONY-3069:
-----------------------------------------

I propose changing the title to ''[drlvm]'
JIT team has nothing to do here. VM shutdown process must be improved to call 'deinit'  for
all components.

> [drlvm][jit] JIT deinit methods not called after System.exit(...)
> -----------------------------------------------------------------
>
>                 Key: HARMONY-3069
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3069
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: RHEL4 update 4, i386, gcc 4.1.0, r500930
>            Reporter: Naveen Neelakantam
>         Attachments: HelloWorld.java, SystemExit.java, testdeinit.patch
>
>
> The deinit method of an optimization pass is not invoked if the Java app calls System.exit(...)
> I've attached 3 files to help demonstrate the bug:
> testdeinit.patch: patch which provides an example optimization pass that prints a message
on initialization and deinitializatoin.  The patch also includes an emconf file to use the
pass.
> HelloWorld.java: simple test program that prints "Hello World"
> SystemExit.java: simple test program that prints "Hello World" and then calles System.exit(0)
> If you try running HelloWorld.java, the deinitialization method is invoked:
> >java -Xem:testdeinit HelloWorld
> init called
> Hello World
> deinit called
> If you try running SystemExit.java, the deinitialization method is _not_ invoked:
> >java -Xem:testdeinit SystemExit
> init called
> Hello World

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