Mercurial > hg > graal-compiler
comparison src/share/vm/utilities/globalDefinitions.hpp @ 10405:f2110083203d
8005849: JEP 167: Event-Based JVM Tracing
Reviewed-by: acorn, coleenp, sla
Contributed-by: Karen Kinnear <karen.kinnear@oracle.com>, Bengt Rutisson <bengt.rutisson@oracle.com>, Calvin Cheung <calvin.cheung@oracle.com>, Erik Gahlin <erik.gahlin@oracle.com>, Erik Helin <erik.helin@oracle.com>, Jesper Wilhelmsson <jesper.wilhelmsson@oracle.com>, Keith McGuigan <keith.mcguigan@oracle.com>, Mattias Tobiasson <mattias.tobiasson@oracle.com>, Markus Gronlund <markus.gronlund@oracle.com>, Mikael Auno <mikael.auno@oracle.com>, Nils Eliasson <nils.eliasson@oracle.com>, Nils Loodin <nils.loodin@oracle.com>, Rickard Backman <rickard.backman@oracle.com>, Staffan Larsen <staffan.larsen@oracle.com>, Stefan Karlsson <stefan.karlsson@oracle.com>, Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
author | sla |
---|---|
date | Mon, 10 Jun 2013 11:30:51 +0200 |
parents | fb14e9ed1594 |
children | 836a62f43af9 90d6c221d4e5 |
comparison
equal
deleted
inserted
replaced
10404:d0add7016434 | 10405:f2110083203d |
---|---|
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 // |