[RFC] JVMTI CLASS_PREPARE event
Keith Seitz
keiths@redhat.com
Thu Jan 25 01:15:00 GMT 2007
Tom Tromey wrote:
> If you want extra checking I think adding an '&& state >= JV_STATE_LINKED'
> would do it. We know that the original klass->state is '< state'
> at the point where your code is added, due to the check at the top of
> the function.
Doh! I don't know why I didn't even see that. The old "can't see the
forest for the trees" thing, I guess.
Okay, so time to turn this into a proper patch: I've attached two files,
one of the "svn diff" output that can be applied to the repository, the
other a similar "diff -uw" of the revision (it's just *so* much easier
to read).
Keith
ChangeLog
2007-01-24 Keith Seitz <keiths@redhat.com>
* link.cc (_Jv_Linker::wait_for_state): Add JVMTI
CLASS_PREPARE notification.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: classprepare-event-easy.patch
Type: text/x-patch
Size: 1195 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20070125/892b6fe9/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: classprepare-event-svn.patch
Type: text/x-patch
Size: 4794 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20070125/892b6fe9/attachment-0001.bin>
More information about the Java-patches
mailing list