76 public int getExecutionCount(int bci) {
77 return -1;
78 }
79
80 public static ProfilingInfo get(TriState exceptionSeen) {
81 return NO_PROFILING_INFO[exceptionSeen.ordinal()];
82 }
83
84 @Override
85 public int getDeoptimizationCount(DeoptimizationReason reason) {
86 return 0;
87 }
88
89 @Override
90 public boolean isMature() {
91 return false;
92 }
93
94 @Override
95 public String toString() {
96 return "BaseProfilingInfo<" + this.toString(null, "; ") + ">";
97 }
98
99 public void setMature() {
100 // Do nothing
101 }
102
103 public boolean setCompilerIRSize(Class<?> irType, int nodeCount) {
104 return false;
105 }
106
107 public int getCompilerIRSize(Class<?> irType) {
108 return -1;
109 }
110 }
|
76 public int getExecutionCount(int bci) {
77 return -1;
78 }
79
80 public static ProfilingInfo get(TriState exceptionSeen) {
81 return NO_PROFILING_INFO[exceptionSeen.ordinal()];
82 }
83
84 @Override
85 public int getDeoptimizationCount(DeoptimizationReason reason) {
86 return 0;
87 }
88
89 @Override
90 public boolean isMature() {
91 return false;
92 }
93
94 @Override
95 public String toString() {
96 return "DefaultProfilingInfo<" + this.toString(null, "; ") + ">";
97 }
98
99 public void setMature() {
100 // Do nothing
101 }
102
103 public boolean setCompilerIRSize(Class<?> irType, int nodeCount) {
104 return false;
105 }
106
107 public int getCompilerIRSize(Class<?> irType) {
108 return -1;
109 }
110 }
|