Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 18824 invoked from network); 28 Sep 2006 05:57:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Sep 2006 05:57:52 -0000 Received: (qmail 27243 invoked by uid 500); 28 Sep 2006 05:57:52 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 27217 invoked by uid 500); 28 Sep 2006 05:57:52 -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 27206 invoked by uid 99); 28 Sep 2006 05:57:52 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Sep 2006 22:57:52 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [209.237.227.198] ([209.237.227.198:60896] helo=brutus.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id C1/96-05478-6546B154 for ; Wed, 27 Sep 2006 22:57:42 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 056EB7141E0 for ; Thu, 28 Sep 2006 05:53:52 +0000 (GMT) Message-ID: <32839748.1159422832019.JavaMail.jira@brutus> Date: Wed, 27 Sep 2006 22:53:52 -0700 (PDT) From: "Geir Magnusson Jr (JIRA)" To: harmony-commits@incubator.apache.org Subject: [jira] Assigned: (HARMONY-1575) [drlvm] [jvmti] Return from java to native and from native to java code needs to be fixed In-Reply-To: <17529385.1159222670128.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-1575?page=all ] Geir Magnusson Jr reassigned HARMONY-1575: ------------------------------------------ Assignee: Geir Magnusson Jr > [drlvm] [jvmti] Return from java to native and from native to java code needs to be fixed > ----------------------------------------------------------------------------------------- > > Key: HARMONY-1575 > URL: http://issues.apache.org/jira/browse/HARMONY-1575 > Project: Harmony > Issue Type: Bug > Components: DRLVM > Reporter: Gregory Shimansky > Assigned To: Geir Magnusson Jr > Attachments: return-to-and-from-native-fix.patch > > > I didn't think of so many native-java-native transitions before. It appears that native is called everywhere in hidden calls to class loader or in explicit calls like System.out.println. > Single stepping back from java to native requres predicting a next bytecode after *return one. But there is an assertion that frame is java. If the frame is native it fails. This assertion was removed because it cannot be satisfied always. But instead I removed incorrect assumption comments on returning from native code back to Java (it it returns to Java at all) to start single stepping back in Java code. If the calling code was not Java single stepping won't happen, it will just wait another native from Java transition. -- 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