comparison src/share/vm/oops/instanceKlass.hpp @ 3670:f198b24093f3

put back in thread transitions.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Fri, 18 Nov 2011 16:23:26 +0100
parents ff6a991c6e3c
children 04b9a2566eec
comparison
equal deleted inserted replaced
3669:53636e2c9d03 3670:f198b24093f3
96 class FieldClosure: public StackObj { 96 class FieldClosure: public StackObj {
97 public: 97 public:
98 virtual void do_field(fieldDescriptor* fd) = 0; 98 virtual void do_field(fieldDescriptor* fd) = 0;
99 }; 99 };
100 100
101 #ifndef PRODUCT 101 //#ifndef PRODUCT
102 // Print fields. 102 // Print fields.
103 // If "obj" argument to constructor is NULL, prints static fields, otherwise prints non-static fields. 103 // If "obj" argument to constructor is NULL, prints static fields, otherwise prints non-static fields.
104 class FieldPrinter: public FieldClosure { 104 class FieldPrinter: public FieldClosure {
105 oop _obj; 105 oop _obj;
106 outputStream* _st; 106 outputStream* _st;
107 public: 107 public:
108 FieldPrinter(outputStream* st, oop obj = NULL) : _obj(obj), _st(st) {} 108 FieldPrinter(outputStream* st, oop obj = NULL) : _obj(obj), _st(st) {}
109 void do_field(fieldDescriptor* fd); 109 void do_field(fieldDescriptor* fd);
110 }; 110 };
111 #endif // !PRODUCT 111 //#endif // !PRODUCT
112 112
113 // ValueObjs embedded in klass. Describes where oops are located in instances of 113 // ValueObjs embedded in klass. Describes where oops are located in instances of
114 // this klass. 114 // this klass.
115 class OopMapBlock VALUE_OBJ_CLASS_SPEC { 115 class OopMapBlock VALUE_OBJ_CLASS_SPEC {
116 public: 116 public:
830 jint jvmti_class_status() const; 830 jint jvmti_class_status() const;
831 831
832 public: 832 public:
833 // Printing 833 // Printing
834 void oop_print_value_on(oop obj, outputStream* st); 834 void oop_print_value_on(oop obj, outputStream* st);
835 #ifndef PRODUCT 835
836 void oop_print_on (oop obj, outputStream* st); 836 void oop_print_on (oop obj, outputStream* st);
837 837
838 void print_dependent_nmethods(bool verbose = false); 838 void print_dependent_nmethods(bool verbose = false);
839 bool is_dependent_nmethod(nmethod* nm); 839 bool is_dependent_nmethod(nmethod* nm);
840 #endif
841 840
842 // Verification 841 // Verification
843 const char* internal_name() const; 842 const char* internal_name() const;
844 void oop_verify_on(oop obj, outputStream* st); 843 void oop_verify_on(oop obj, outputStream* st);
845 844