You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Naveen Neelakantam (JIRA)" <ji...@apache.org> on 2007/01/29 05:16:49 UTC
[jira] Updated: (HARMONY-3069) [drlvm][jit] JIT deinit methods not
called after System.exit(...)
[ https://issues.apache.org/jira/browse/HARMONY-3069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Naveen Neelakantam updated HARMONY-3069:
----------------------------------------
Patch Info: (was: [Patch Available])
> [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
>
> 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.