Mercurial > hg > graal-compiler
comparison src/share/vm/code/nmethod.hpp @ 6275:957c266d8bc5
Merge with http://hg.openjdk.java.net/hsx/hsx24/hotspot/
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 21 Aug 2012 10:39:19 +0200 |
parents | e72dd6533eb9 d2a62e0f25eb |
children | e522a00b91aa |
comparison
equal
deleted
inserted
replaced
5891:fd8832ae511d | 6275:957c266d8bc5 |
---|---|
29 #include "code/pcDesc.hpp" | 29 #include "code/pcDesc.hpp" |
30 | 30 |
31 // This class is used internally by nmethods, to cache | 31 // This class is used internally by nmethods, to cache |
32 // exception/pc/handler information. | 32 // exception/pc/handler information. |
33 | 33 |
34 class ExceptionCache : public CHeapObj { | 34 class ExceptionCache : public CHeapObj<mtCode> { |
35 friend class VMStructs; | 35 friend class VMStructs; |
36 private: | 36 private: |
37 enum { cache_size = 16 }; | 37 enum { cache_size = 16 }; |
38 klassOop _exception_type; | 38 klassOop _exception_type; |
39 address _pc[cache_size]; | 39 address _pc[cache_size]; |
561 | 561 |
562 bool test_set_oops_do_mark(); | 562 bool test_set_oops_do_mark(); |
563 static void oops_do_marking_prologue(); | 563 static void oops_do_marking_prologue(); |
564 static void oops_do_marking_epilogue(); | 564 static void oops_do_marking_epilogue(); |
565 static bool oops_do_marking_is_active() { return _oops_do_mark_nmethods != NULL; } | 565 static bool oops_do_marking_is_active() { return _oops_do_mark_nmethods != NULL; } |
566 DEBUG_ONLY(bool test_oops_do_mark() { return _oops_do_mark_link != NULL; }) | 566 bool test_oops_do_mark() { return _oops_do_mark_link != NULL; } |
567 | 567 |
568 // ScopeDesc for an instruction | 568 // ScopeDesc for an instruction |
569 ScopeDesc* scope_desc_at(address pc); | 569 ScopeDesc* scope_desc_at(address pc); |
570 | 570 |
571 private: | 571 private: |