76 oopMapsField = type.getAddressField("_oop_maps");
77
78 if (VM.getVM().isServerCompiler()) {
79 matcherInterpreterFramePointerReg =
80 db.lookupIntConstant("Matcher::interpreter_frame_pointer_reg").intValue();
81 }
82 }
83
84 public CodeBlob(Address addr) {
85 super(addr);
86 }
87
88 // Typing
89 public boolean isBufferBlob() { return false; }
90 public boolean isNMethod() { return false; }
91 public boolean isRuntimeStub() { return false; }
92 public boolean isDeoptimizationStub() { return false; }
93 public boolean isUncommonTrapStub() { return false; }
94 public boolean isExceptionStub() { return false; }
95 public boolean isSafepointStub() { return false; }
96 public boolean isRicochetBlob() { return false; }
97 public boolean isAdapterBlob() { return false; }
98
99 // Fine grain nmethod support: isNmethod() == isJavaMethod() || isNativeMethod() || isOSRMethod()
100 public boolean isJavaMethod() { return false; }
101 public boolean isNativeMethod() { return false; }
102 /** On-Stack Replacement method */
103 public boolean isOSRMethod() { return false; }
104
105 public NMethod asNMethodOrNull() {
106 if (isNMethod()) return (NMethod)this;
107 return null;
108 }
109
110 // Boundaries
111 public Address headerBegin() {
112 return addr;
113 }
114
115 public Address headerEnd() {
116 return addr.addOffsetTo(headerSizeField.getValue(addr));
|
76 oopMapsField = type.getAddressField("_oop_maps");
77
78 if (VM.getVM().isServerCompiler()) {
79 matcherInterpreterFramePointerReg =
80 db.lookupIntConstant("Matcher::interpreter_frame_pointer_reg").intValue();
81 }
82 }
83
84 public CodeBlob(Address addr) {
85 super(addr);
86 }
87
88 // Typing
89 public boolean isBufferBlob() { return false; }
90 public boolean isNMethod() { return false; }
91 public boolean isRuntimeStub() { return false; }
92 public boolean isDeoptimizationStub() { return false; }
93 public boolean isUncommonTrapStub() { return false; }
94 public boolean isExceptionStub() { return false; }
95 public boolean isSafepointStub() { return false; }
96 public boolean isAdapterBlob() { return false; }
97
98 // Fine grain nmethod support: isNmethod() == isJavaMethod() || isNativeMethod() || isOSRMethod()
99 public boolean isJavaMethod() { return false; }
100 public boolean isNativeMethod() { return false; }
101 /** On-Stack Replacement method */
102 public boolean isOSRMethod() { return false; }
103
104 public NMethod asNMethodOrNull() {
105 if (isNMethod()) return (NMethod)this;
106 return null;
107 }
108
109 // Boundaries
110 public Address headerBegin() {
111 return addr;
112 }
113
114 public Address headerEnd() {
115 return addr.addOffsetTo(headerSizeField.getValue(addr));
|