comparison src/share/vm/utilities/globalDefinitions.hpp @ 11130:90d6c221d4e5

Merge
author jprovino
date Tue, 16 Jul 2013 12:20:08 -0400
parents 16b10327b00d f2110083203d
children 6b0fd0964b87 9766f73e770d 740e263c80c6 bdd155477289
comparison
equal deleted inserted replaced
11129:16b10327b00d 11130: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 //