From: Per Bothner <per@bothner.com>
To: Keith Seitz <keiths@redhat.com>
Cc: Java Patch List <java-patches@gcc.gnu.org>
Subject: Re: [RFC/JVMTI] GetMethodDeclaringClass
Date: Tue, 17 Oct 2006 18:23:00 -0000 [thread overview]
Message-ID: <45351FB5.7090807@bothner.com> (raw)
In-Reply-To: <45351C48.5070205@redhat.com>
Keith Seitz wrote:
> So somehow we must maintain a mapping of jmethodIDs to their
> corresponding classes.
The question is: what does a jmethodID map to? Historically, it maps
to a (_Jv_Method*), and you can't map that to a class. But perhaps a
jmethodID should be the same as a java::lang::reflect::Method* -
does does have a reference to its declaring class.
Actually, we want to go further: Have Jv_Method be the same
as java::lang::reflect::Method. That assumes the compiler creates
a compressed data structure, which is lazily unpacked when needed,
as previously discussed.
--
--Per Bothner
per@bothner.com http://per.bothner.com/
prev parent reply other threads:[~2006-10-17 18:23 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-17 18:09 Keith Seitz
2006-10-17 18:14 ` Andrew Haley
2006-10-17 19:05 ` Andrew Haley
2006-10-17 18:42 ` Keith Seitz
2006-10-17 18:53 ` Andrew Haley
2006-10-18 23:04 ` Keith Seitz
2006-10-19 8:22 ` Andrew Haley
2006-10-23 20:50 ` Keith Seitz
2006-10-24 6:36 ` Andrew Haley
2006-10-27 0:06 ` Keith Seitz
2006-10-27 10:17 ` Andrew Haley
2006-10-28 2:16 ` Keith Seitz
2006-10-17 18:23 ` Per Bothner [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45351FB5.7090807@bothner.com \
--to=per@bothner.com \
--cc=java-patches@gcc.gnu.org \
--cc=keiths@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).