harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gregory Shimansky (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-3069) [drlvm][shutdown] JIT deinit methods not called after System.exit(...)
Date Wed, 15 Aug 2007 11:23:30 GMT

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

Gregory Shimansky updated HARMONY-3069:
---------------------------------------

    Summary: [drlvm][shutdown] JIT deinit methods not called after System.exit(...)  (was:
[drlvm][jit] JIT deinit methods not called after System.exit(...))

I agree. Changing the summary.

> [drlvm][shutdown] 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