comparison src/share/vm/code/nmethod.hpp @ 1692:d2ede61b7a12

6976186: integrate Shark HotSpot changes Summary: Shark is a JIT compiler for Zero that uses the LLVM compiler infrastructure. Reviewed-by: kvn, twisti Contributed-by: Gary Benson <gbenson@redhat.com>
author twisti
date Wed, 11 Aug 2010 05:51:21 -0700
parents 126ea7725993
children 71faaa8e3ccc
comparison
equal deleted inserted replaced
1691:4a665be40fd3 1692:d2ede61b7a12
327 bool is_native_method() const { return method()->is_native(); } 327 bool is_native_method() const { return method()->is_native(); }
328 bool is_osr_method() const { return _entry_bci != InvocationEntryBci; } 328 bool is_osr_method() const { return _entry_bci != InvocationEntryBci; }
329 329
330 bool is_compiled_by_c1() const; 330 bool is_compiled_by_c1() const;
331 bool is_compiled_by_c2() const; 331 bool is_compiled_by_c2() const;
332 bool is_compiled_by_shark() const;
332 333
333 // boundaries for different parts 334 // boundaries for different parts
334 address code_begin () const { return _entry_point; } 335 address code_begin () const { return _entry_point; }
335 address code_end () const { return header_begin() + _stub_offset ; } 336 address code_end () const { return header_begin() + _stub_offset ; }
336 address exception_begin () const { return header_begin() + _exception_offset ; } 337 address exception_begin () const { return header_begin() + _exception_offset ; }