< prev index next >

src/hotspot/share/runtime/frame.hpp

Print this page

356   void describe_pd(FrameValues& values, int frame_no);
357 
358  public:
359   void print_value() const { print_value_on(tty,NULL); }
360   void print_value_on(outputStream* st, JavaThread *thread) const;
361   void print_on(outputStream* st) const;
362   void interpreter_frame_print_on(outputStream* st) const;
363   void print_on_error(outputStream* st, char* buf, int buflen, bool verbose = false) const;
364   static void print_C_frame(outputStream* st, char* buf, int buflen, address pc);
365 
366   // Add annotated descriptions of memory locations belonging to this frame to values
367   void describe(FrameValues& values, int frame_no);
368 
369   // Conversion from a VMReg to physical stack location
370   address oopmapreg_to_location(VMReg reg, const RegisterMap* reg_map) const;
371   oop* oopmapreg_to_oop_location(VMReg reg, const RegisterMap* reg_map) const;
372 
373   // Oops-do's
374   void oops_compiled_arguments_do(Symbol* signature, bool has_receiver, bool has_appendix, const RegisterMap* reg_map, OopClosure* f) const;
375   void oops_interpreted_do(OopClosure* f, const RegisterMap* map, bool query_oop_map_cache = true) const;

376 
377  private:
378   void oops_interpreted_arguments_do(Symbol* signature, bool has_receiver, OopClosure* f) const;
379 
380   // Iteration of oops
381   void oops_do_internal(OopClosure* f, CodeBlobClosure* cf, const RegisterMap* map,
382                         bool use_interpreter_oop_map_cache, DerivedPointerIterationMode derived_mode) const;
383   void oops_entry_do(OopClosure* f, const RegisterMap* map) const;
384   void oops_code_blob_do(OopClosure* f, CodeBlobClosure* cf, const RegisterMap* map,
385                          DerivedPointerIterationMode derived_mode) const;
386   int adjust_offset(Method* method, int index); // helper for above fn
387  public:
388   // Memory management
389   void oops_do(OopClosure* f, CodeBlobClosure* cf, const RegisterMap* map,
390                DerivedPointerIterationMode derived_mode) const;
391   void oops_do(OopClosure* f, CodeBlobClosure* cf, const RegisterMap* map) const;
392   void nmethods_do(CodeBlobClosure* cf) const;
393 
394   // RedefineClasses support for finding live interpreted methods on the stack
395   void metadata_do(MetadataClosure* f) const;

356   void describe_pd(FrameValues& values, int frame_no);
357 
358  public:
359   void print_value() const { print_value_on(tty,NULL); }
360   void print_value_on(outputStream* st, JavaThread *thread) const;
361   void print_on(outputStream* st) const;
362   void interpreter_frame_print_on(outputStream* st) const;
363   void print_on_error(outputStream* st, char* buf, int buflen, bool verbose = false) const;
364   static void print_C_frame(outputStream* st, char* buf, int buflen, address pc);
365 
366   // Add annotated descriptions of memory locations belonging to this frame to values
367   void describe(FrameValues& values, int frame_no);
368 
369   // Conversion from a VMReg to physical stack location
370   address oopmapreg_to_location(VMReg reg, const RegisterMap* reg_map) const;
371   oop* oopmapreg_to_oop_location(VMReg reg, const RegisterMap* reg_map) const;
372 
373   // Oops-do's
374   void oops_compiled_arguments_do(Symbol* signature, bool has_receiver, bool has_appendix, const RegisterMap* reg_map, OopClosure* f) const;
375   void oops_interpreted_do(OopClosure* f, const RegisterMap* map, bool query_oop_map_cache = true) const;
376   void buffered_values_interpreted_do(BufferedValueClosure* f);
377 
378  private:
379   void oops_interpreted_arguments_do(Symbol* signature, bool has_receiver, OopClosure* f) const;
380 
381   // Iteration of oops
382   void oops_do_internal(OopClosure* f, CodeBlobClosure* cf, const RegisterMap* map,
383                         bool use_interpreter_oop_map_cache, DerivedPointerIterationMode derived_mode) const;
384   void oops_entry_do(OopClosure* f, const RegisterMap* map) const;
385   void oops_code_blob_do(OopClosure* f, CodeBlobClosure* cf, const RegisterMap* map,
386                          DerivedPointerIterationMode derived_mode) const;
387   int adjust_offset(Method* method, int index); // helper for above fn
388  public:
389   // Memory management
390   void oops_do(OopClosure* f, CodeBlobClosure* cf, const RegisterMap* map,
391                DerivedPointerIterationMode derived_mode) const;
392   void oops_do(OopClosure* f, CodeBlobClosure* cf, const RegisterMap* map) const;
393   void nmethods_do(CodeBlobClosure* cf) const;
394 
395   // RedefineClasses support for finding live interpreted methods on the stack
396   void metadata_do(MetadataClosure* f) const;
< prev index next >