From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28292 invoked by alias); 13 Jul 2009 16:50:37 -0000 Received: (qmail 28195 invoked by uid 22791); 13 Jul 2009 16:50:36 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from qw-out-1920.google.com (HELO qw-out-1920.google.com) (74.125.92.150) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 13 Jul 2009 16:50:31 +0000 Received: by qw-out-1920.google.com with SMTP id 5so774658qwc.14 for ; Mon, 13 Jul 2009 09:50:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.100.81 with SMTP id x17mr911513qcn.15.1247503829084; Mon, 13 Jul 2009 09:50:29 -0700 (PDT) Date: Mon, 13 Jul 2009 16:50:00 -0000 Message-ID: <898285d30907130950o220c0cfi5f841d800322d8f8@mail.gmail.com> Subject: Native finalizer. From: abhishek desai To: java@gcc.gnu.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact java-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-owner@gcc.gnu.org X-SW-Source: 2009-07/txt/msg00009.txt.bz2 Hi, Is there any way to assign a native finalizer method per object to be called when the object gets garbage collected ? I want to assign this in the native layer.