equal
deleted
inserted
replaced
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 // |