hotspot/src/share/vm/interpreter/interpreter.hpp
changeset 46620 750c6edff33b
parent 35214 d86005e0b4c2
child 46625 edefffab74e2
equal deleted inserted replaced
46619:a3919f5e8d2b 46620:750c6edff33b
    57                                                    DEBUG_ONLY(_strings.assign(strings);) }
    57                                                    DEBUG_ONLY(_strings.assign(strings);) }
    58   void    finalize()                             { ShouldNotCallThis(); }
    58   void    finalize()                             { ShouldNotCallThis(); }
    59 
    59 
    60   // General info/converters
    60   // General info/converters
    61   int     size() const                           { return _size; }
    61   int     size() const                           { return _size; }
    62   static  int code_size_to_size(int code_size)   { return round_to(sizeof(InterpreterCodelet), CodeEntryAlignment) + code_size; }
    62   static  int code_size_to_size(int code_size)   { return align_up((int)sizeof(InterpreterCodelet), CodeEntryAlignment) + code_size; }
    63 
    63 
    64   // Code info
    64   // Code info
    65   address code_begin() const                     { return (address)this + round_to(sizeof(InterpreterCodelet), CodeEntryAlignment); }
    65   address code_begin() const                     { return (address)this + align_up(sizeof(InterpreterCodelet), CodeEntryAlignment); }
    66   address code_end() const                       { return (address)this + size(); }
    66   address code_end() const                       { return (address)this + size(); }
    67 
    67 
    68   // Debugging
    68   // Debugging
    69   void    verify();
    69   void    verify();
    70   void    print_on(outputStream* st) const;
    70   void    print_on(outputStream* st) const;