Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 53489 invoked from network); 23 Sep 2006 13:35:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Sep 2006 13:35:08 -0000 Received: (qmail 21654 invoked by uid 500); 23 Sep 2006 13:35:08 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 21621 invoked by uid 500); 23 Sep 2006 13:35:08 -0000 Mailing-List: contact harmony-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-commits@incubator.apache.org Received: (qmail 21610 invoked by uid 99); 23 Sep 2006 13:35:08 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Sep 2006 06:35:08 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [209.237.227.198] ([209.237.227.198:35612] helo=brutus.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id FD/9B-27820-A0835154 for ; Sat, 23 Sep 2006 06:35:06 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E85094190D2 for ; Sat, 23 Sep 2006 13:31:23 +0000 (GMT) Message-ID: <1137343.1159018283948.JavaMail.jira@brutus> Date: Sat, 23 Sep 2006 06:31:23 -0700 (PDT) From: "Geir Magnusson Jr (JIRA)" To: harmony-commits@incubator.apache.org Subject: [jira] Closed: (HARMONY-1527) [DRLVM] JVMTI watched fields callbacks is called from jit with direct pointers arguments. In-Reply-To: <24141776.1158843923547.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HARMONY-1527?page=all ] Geir Magnusson Jr closed HARMONY-1527. -------------------------------------- > [DRLVM] JVMTI watched fields callbacks is called from jit with direct pointers arguments. > ----------------------------------------------------------------------------------------- > > Key: HARMONY-1527 > URL: http://issues.apache.org/jira/browse/HARMONY-1527 > Project: Harmony > Issue Type: Improvement > Components: DRLVM > Reporter: Eugene S. Ostrovsky > Assigned To: Geir Magnusson Jr > Attachments: JVMTI-watched-fields-callbacks-is-called-from-jit-with-direct-pointers-arguments.patch > > > By declaration jvmti_field_access_callback() & jvmti_field_modification_callback() must recieve pointer to jobject (GC-safe object handle). But actually JIT transfers non GC-safe direct pointers to managed objects. This results in crash on any attempt to use recieved object. > Also JIT passes direct pointer instead of gc-safe handle in jvalue.l field of new_value argument to jvmti_field_modification_callback(). > Proposed patch fixes callbacks interface and implementation according to actual data type passed from JIT. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira