src/share/vm/utilities/globalDefinitions.hpp

changeset 5403
90d6c221d4e5
parent 5402
16b10327b00d
parent 5237
f2110083203d
child 5515
9766f73e770d
child 5528
740e263c80c6
child 6461
bdd155477289
equal deleted inserted replaced
5402:16b10327b00d 5403:90d6c221d4e5
759 759
760 760
761 // Helper function to convert BasicType info into TosState 761 // Helper function to convert BasicType info into TosState
762 // Note: Cannot define here as it uses global constant at the time being. 762 // Note: Cannot define here as it uses global constant at the time being.
763 TosState as_TosState(BasicType type); 763 TosState as_TosState(BasicType type);
764
765
766 // ReferenceType is used to distinguish between java/lang/ref/Reference subclasses
767
768 enum ReferenceType {
769 REF_NONE, // Regular class
770 REF_OTHER, // Subclass of java/lang/ref/Reference, but not subclass of one of the classes below
771 REF_SOFT, // Subclass of java/lang/ref/SoftReference
772 REF_WEAK, // Subclass of java/lang/ref/WeakReference
773 REF_FINAL, // Subclass of java/lang/ref/FinalReference
774 REF_PHANTOM // Subclass of java/lang/ref/PhantomReference
775 };
776 764
777 765
778 // JavaThreadState keeps track of which part of the code a thread is executing in. This 766 // JavaThreadState keeps track of which part of the code a thread is executing in. This
779 // information is needed by the safepoint code. 767 // information is needed by the safepoint code.
780 // 768 //

mercurial