get method information
    Christian Thalinger 
    christian.thalinger at oracle.com
       
    Tue Apr  2 14:16:32 PDT 2013
    
    
  
On Apr 2, 2013, at 11:24 AM, Xin Tong <xerox.time.tech at gmail.com> wrote:
> In the jump_from_interpreted code. I have a method in a Register. I think
> this is a manifestation of the java method in memory. What is the correct
> way to get the properties of the method, e.g., the number of arguments in
> the method and the type of the arguments, etc.
The answer is in method.hpp (class Method).
-- Chris
> 
> void InterpreterMacroAssembler::jump_from_interpreted(Register method,
> Register temp) {
> 
>  prepare_to_jump_from_interpreted();
> 
>  ...
> }
> 
> Thank you,
> Xin
    
    
More information about the hotspot-dev
mailing list