Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 23672 invoked from network); 27 Jan 2007 11:51:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Jan 2007 11:51:15 -0000 Received: (qmail 26950 invoked by uid 500); 27 Jan 2007 11:51:19 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 26684 invoked by uid 500); 27 Jan 2007 11:51:18 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 26675 invoked by uid 99); 27 Jan 2007 11:51:18 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Jan 2007 03:51:18 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of gcjhd-harmony-dev@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Jan 2007 03:51:09 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HAm50-0008G8-0H for dev@harmony.apache.org; Sat, 27 Jan 2007 12:50:46 +0100 Received: from msfwpr01.ims.intel.com ([62.118.80.132]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 27 Jan 2007 12:50:45 +0100 Received: from egor.pasko by msfwpr01.ims.intel.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 27 Jan 2007 12:50:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: dev@harmony.apache.org From: Egor Pasko Subject: Re: [drlvm][jit] vm exit tear-down Date: 27 Jan 2007 17:50:41 +0600 Lines: 36 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: msfwpr01.ims.intel.com User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Sender: news X-Virus-Checked: Checked by ClamAV on apache.org On the 0x26B day of Apache Harmony Naveen Neelakantam wrote: > Good call Mikhail! > > I wrote a HelloWorld that uses System.exit() and deinit() is not > called when the VM exits. > > However, if I remove the call to System.exit(), then deinit() is > called when the VM exits. A random idea: you can instrument System.exit() in JIT with your deinit(). > Is this a bug? I dunno. A random idea 2: -XcleanupOnExit > Naveen > > On Jan 26, 2007, at 9:18 AM, Mikhail Fursov wrote: > > > Does benchmark uses System.exit(..) to exit? > > I remember that I had the same problem, so I had to add data- > > dumping into > > thread-detach code in Jitrino.cpp.. > > > > VM Gurus! Tell us more about current (System.exit() & safe shutdown) > > status?! > > > > > > -- > > Mikhail Fursov > > -- Egor Pasko