You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by YixunZhou <se...@gmail.com> on 2009/02/09 07:08:55 UTC

The RedefineClass function

I'm new to harmony, and looking at the jvmti component in harmony. Is 
there some documents about the data structures and architecture of 
jvmti? I only found the description of the implementation of "JVMTI 
PopFrame Implementation 
<http://harmony.apache.org/subcomponents/drlvm/JVMTI-PopFrame.html> " 
and "Implementation of breakpoints and single step 
<http://harmony.apache.org/subcomponents/drlvm/breakpoints_and_ss.html> 
JVMTI functionality in JIT mode".

-- 

Best regard,
Yixun Zhou
seanny2003@gmail.com



Re: The RedefineClass function

Posted by Gregory Shimansky <gs...@apache.org>.
YixunZhou said the following on 09.02.2009 9:08:
> 
> I'm new to harmony, and looking at the jvmti component in harmony. Is 
> there some documents about the data structures and architecture of 
> jvmti? I only found the description of the implementation of "JVMTI 
> PopFrame Implementation 
> <http://harmony.apache.org/subcomponents/drlvm/JVMTI-PopFrame.html> " 
> and "Implementation of breakpoints and single step 
> <http://harmony.apache.org/subcomponents/drlvm/breakpoints_and_ss.html> 
> JVMTI functionality in JIT mode".

If you are interested in RedefineClasses function, there is no 
implementation for it yet. It is the only JVMTI functionality that DRLVM 
misses. This function is quite a big piece of work and since it is 
optional, it wasn't implemented yet. There is an alternative to use 
ClassFileLoadHook if you need to change classes that are loaded by the 
virtual machine.

-- 
Gregory


Re: The RedefineClass function

Posted by Xiao-Feng Li <xi...@gmail.com>.
JVMTI is part of Java standard. You can get the specification online.
${harmony}/working_vm/vm/vmcore/src/jvmti has the source proper.

Thanks,
xiaofeng

On Mon, Feb 9, 2009 at 2:08 PM, YixunZhou <se...@gmail.com> wrote:
>
> I'm new to harmony, and looking at the jvmti component in harmony. Is there
> some documents about the data structures and architecture of jvmti? I only
> found the description of the implementation of "JVMTI PopFrame
> Implementation
> <http://harmony.apache.org/subcomponents/drlvm/JVMTI-PopFrame.html> " and
> "Implementation of breakpoints and single step
> <http://harmony.apache.org/subcomponents/drlvm/breakpoints_and_ss.html>
> JVMTI functionality in JIT mode".
>
> --
>
> Best regard,
> Yixun Zhou
> seanny2003@gmail.com
>
>
>



-- 
Managed Runtime Technology Center, Intel