Searched refs:Bytecodes (Results 1 - 25 of 148) sorted by relevance

123456

/openjdk7/hotspot/src/cpu/zero/vm/
H A Dbytecodes_zero.cpp29 void Bytecodes::pd_initialize() {
/openjdk7/hotspot/src/cpu/sparc/vm/
H A Dbytecodes_sparc.cpp29 void Bytecodes::pd_initialize() {
33 Bytecodes::Code Bytecodes::pd_base_code_for(Code code) {
/openjdk7/hotspot/src/cpu/x86/vm/
H A Dbytecodes_x86.cpp29 void Bytecodes::pd_initialize() {
34 Bytecodes::Code Bytecodes::pd_base_code_for(Code code) {
/openjdk7/hotspot/src/share/vm/shark/
H A DsharkInliner.cpp108 Bytecodes::Code bc() {
251 case Bytecodes::_nop:
254 case Bytecodes::_aconst_null:
258 case Bytecodes::_iconst_0:
261 case Bytecodes::_iconst_m1:
262 case Bytecodes::_iconst_1:
263 case Bytecodes::_iconst_2:
264 case Bytecodes::_iconst_3:
265 case Bytecodes::_iconst_4:
266 case Bytecodes
[all...]
H A DsharkBlock.cpp55 tty->print_cr("%4d: %s", bci(), Bytecodes::name(bc()));
67 case Bytecodes::_goto:
68 case Bytecodes::_ifnull:
69 case Bytecodes::_ifnonnull:
70 case Bytecodes::_if_acmpeq:
71 case Bytecodes::_if_acmpne:
72 case Bytecodes::_ifeq:
73 case Bytecodes::_ifne:
74 case Bytecodes::_iflt:
75 case Bytecodes
[all...]
/openjdk7/hotspot/src/share/vm/compiler/
H A DmethodLiveness.cpp245 Bytecodes::Code code = bytes.next();
252 case Bytecodes::_ifeq:
253 case Bytecodes::_ifne:
254 case Bytecodes::_iflt:
255 case Bytecodes::_ifge:
256 case Bytecodes::_ifgt:
257 case Bytecodes::_ifle:
258 case Bytecodes::_if_icmpeq:
259 case Bytecodes::_if_icmpne:
260 case Bytecodes
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/interpreter/
H A DBytecodeDisassembler.java46 addBytecodeClass(Bytecodes._anewarray, BytecodeANewArray.class);
47 addBytecodeClass(Bytecodes._bipush, BytecodeBipush.class);
48 addBytecodeClass(Bytecodes._checkcast, BytecodeCheckCast.class);
49 addBytecodeClass(Bytecodes._getfield, BytecodeGetField.class);
50 addBytecodeClass(Bytecodes._getstatic, BytecodeGetStatic.class);
51 addBytecodeClass(Bytecodes._goto, BytecodeGoto.class);
52 addBytecodeClass(Bytecodes._goto_w, BytecodeGotoW.class);
53 addBytecodeClass(Bytecodes._ifeq, BytecodeIf.class);
54 addBytecodeClass(Bytecodes._ifne, BytecodeIf.class);
55 addBytecodeClass(Bytecodes
[all...]
H A DBytecodeLoad.java44 case Bytecodes._iload:
45 case Bytecodes._lload:
46 case Bytecodes._fload:
47 case Bytecodes._dload:
48 case Bytecodes._aload:
H A DBytecodeStore.java44 case Bytecodes._istore:
45 case Bytecodes._lstore:
46 case Bytecodes._fstore:
47 case Bytecodes._dstore:
48 case Bytecodes._astore:
/openjdk7/hotspot/src/share/vm/interpreter/
H A DbytecodeStream.cpp29 Bytecodes::Code RawBytecodeStream::raw_next_special(Bytecodes::Code code) {
34 int l = Bytecodes::raw_special_length_at(bcp, end);
36 code = Bytecodes::_illegal;
43 if (code == Bytecodes::_wide) {
45 code = Bytecodes::_illegal;
47 code = (Bytecodes::Code)bcp[1];
58 if (raw_code() == Bytecodes::_invokedynamic && is_raw()) {
H A Dbytecode.cpp39 void Bytecode::assert_same_format_as(Bytecodes::Code testbc, bool is_wide) const {
40 Bytecodes::Code thisbc = Bytecodes::cast(byte_at(0));
41 if (thisbc == Bytecodes::_breakpoint) return; // let the assertion fail silently
43 assert(thisbc == Bytecodes::_wide, "expected a wide instruction");
44 thisbc = Bytecodes::cast(byte_at(1));
45 if (thisbc == Bytecodes::_breakpoint) return;
47 int thisflags = Bytecodes::flags(testbc, is_wide) & Bytecodes::_all_fmt_bits;
48 int testflags = Bytecodes
[all...]
H A DbytecodeStream.hpp53 // Bytecodes::Code c;
74 Bytecodes::Code _raw_code;
108 Bytecodes::Code raw_code() const { return _raw_code; }
141 Bytecodes::Code raw_next() {
142 Bytecodes::Code code;
148 code = Bytecodes::code_or_bp_at(bcp);
151 int l = Bytecodes::length_for(code);
153 assert(code != Bytecodes::_wide && code != Bytecodes::_tableswitch
154 && code != Bytecodes
[all...]
H A DtemplateTable.cpp51 Bytecodes::Code Template::bytecode() const {
53 if (i < 0 || i >= Bytecodes::number_of_codes) i = this - TemplateTable::_template_table_wide;
54 return Bytecodes::cast(i);
172 Template TemplateTable::_template_table [Bytecodes::number_of_codes];
173 Template TemplateTable::_template_table_wide[Bytecodes::number_of_codes];
180 void TemplateTable::def(Bytecodes::Code code, int flags, TosState in, TosState out, void (*gen)(), char filler) {
186 void TemplateTable::def(Bytecodes::Code code, int flags, TosState in, TosState out, void (*gen)(int arg), int arg) {
206 void TemplateTable::def(Bytecodes::Code code, int flags, TosState in, TosState out, void (*gen)(Operation op), Operation op) {
211 void TemplateTable::def(Bytecodes::Code code, int flags, TosState in, TosState out, void (*gen)(bool arg ), bool arg) {
216 void TemplateTable::def(Bytecodes
[all...]
H A Drewriter.cpp108 Bytecodes::Code opcode = bcs.raw_next();
110 case Bytecodes::_return: *bcs.bcp() = Bytecodes::_return_register_finalizer; break;
112 case Bytecodes::_istore:
113 case Bytecodes::_lstore:
114 case Bytecodes::_fstore:
115 case Bytecodes::_dstore:
116 case Bytecodes::_astore:
120 case Bytecodes::_istore_0:
121 case Bytecodes
[all...]
H A DbytecodeTracer.cpp51 Bytecodes::Code _code;
67 Bytecodes::Code raw_code() { return Bytecodes::Code(_code); }
80 _code = Bytecodes::_illegal;
100 Bytecodes::Code code;
103 code = Bytecodes::code_at(method(), bcp+1);
105 code = Bytecodes::code_at(method(), bcp);
112 BytecodeCounter::counter_value(), bci, tos, tos2, Bytecodes::name(code));
115 BytecodeCounter::counter_value(), bci, Bytecodes::name(code));
121 _is_wide = (code == Bytecodes
[all...]
H A Dbytecode.hpp56 const Bytecodes::Code _code;
71 Bytecode(methodOop method, address bcp): _bcp(bcp), _code(Bytecodes::code_at(method, addr_at(0))) {
79 int instruction_size() const { return Bytecodes::length_for_code_at(_code, bcp()); }
81 Bytecodes::Code code() const { return _code; }
82 Bytecodes::Code java_code() const { return Bytecodes::java_code(code()); }
83 Bytecodes::Code invoke_code() const { return (code() == Bytecodes::_invokehandle) ? code() : java_code(); }
86 int get_index_u1(Bytecodes::Code bc) const {
90 int get_index_u2(Bytecodes
[all...]
H A Dinterpreter.cpp52 void InterpreterCodelet::initialize(const char* description, Bytecodes::Code bytecode) {
71 if (bytecode() >= 0 ) st->print("%d %s ", bytecode(), Bytecodes::name(bytecode()));
263 Bytecodes::Code code = method()->code_at(bci);
265 if (!Bytecodes::must_rewrite(code)) {
319 Bytecodes::Code code = Bytecodes::java_code_at(method, bcp);
324 length = Bytecodes::length_at(method, bcp);
329 case Bytecodes::_invokevirtual :
330 case Bytecodes::_invokespecial :
331 case Bytecodes
[all...]
/openjdk7/hotspot/src/share/vm/prims/
H A DmethodComparator.cpp59 Bytecodes::Code c_old, c_new;
91 Bytecodes::Code c_old, c_new;
129 bool MethodComparator::args_same(Bytecodes::Code c_old, Bytecodes::Code c_new) {
133 case Bytecodes::_new : // fall through
134 case Bytecodes::_anewarray : // fall through
135 case Bytecodes::_multianewarray : // fall through
136 case Bytecodes::_checkcast : // fall through
137 case Bytecodes::_instanceof : {
142 if (c_old == Bytecodes
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/tools/jcore/
H A DByteCodeRewriter.java59 String fmt = Bytecodes.format(rawcode);
94 int bytecode = Bytecodes._illegal;
95 int hotspotcode = Bytecodes._illegal;
99 hotspotcode = Bytecodes.codeAt(method, bci);
100 bytecode = Bytecodes.javaCode(hotspotcode);
105 || code_from_buffer == Bytecodes._breakpoint,
115 case Bytecodes._getstatic:
116 case Bytecodes._putstatic:
117 case Bytecodes._getfield:
118 case Bytecodes
[all...]
/openjdk7/hotspot/src/share/vm/ci/
H A DbcEscapeAnalyzer.cpp230 void BCEscapeAnalyzer::invoke(StateInfo &state, Bytecodes::Code code, ciMethod* target, ciKlass* holder) {
243 case Bytecodes::_invokevirtual:
244 code = Bytecodes::_invokespecial;
246 case Bytecodes::_invokehandle:
247 code = target->is_static() ? Bytecodes::_invokestatic : Bytecodes::_invokespecial;
260 (code != Bytecodes::_invokevirtual || target->is_final_method() || state._stack[arg_base] .is_empty());
269 if (code == Bytecodes::_invokedynamic) {
286 if (code == Bytecodes::_invokestatic
287 || code == Bytecodes
[all...]
H A DciStreams.cpp92 Bytecodes::Code ciBytecodeStream::next_wide_or_table(Bytecodes::Code bc) {
94 case Bytecodes::_wide:
97 assert(Bytecodes::Code(_pc[0]) == Bytecodes::_wide, "");
98 bc = Bytecodes::java_code(_raw_bc = (Bytecodes::Code)_pc[1]);
99 assert(Bytecodes::wide_length_for(bc) > 2, "must make progress");
100 _pc += Bytecodes::wide_length_for(bc);
105 case Bytecodes
[all...]
H A DciStreams.hpp44 Bytecodes::Code next_wide_or_table(Bytecodes::Code); // Handle _wide & complicated inline table
46 static Bytecodes::Code check_java(Bytecodes::Code c) {
47 assert(Bytecodes::is_java_code(c), "should not return _fast bytecodes");
51 static Bytecodes::Code check_defined(Bytecodes::Code c) {
52 assert(Bytecodes::is_defined(c), "");
66 Bytecodes::Code _bc; // Current bytecode
67 Bytecodes
[all...]
/openjdk7/hotspot/src/share/vm/oops/
H A DgenerateOopMap.cpp227 Bytecodes::Code bytecode;
231 case Bytecodes::_jsr:
234 case Bytecodes::_jsr_w:
411 Bytecodes::Code bytecode;
423 case Bytecodes::_jsr:
425 bb_mark_fct(this, bci + Bytecodes::length_for(bytecode), NULL);
427 case Bytecodes::_jsr_w:
429 bb_mark_fct(this, bci + Bytecodes::length_for(bytecode), NULL);
473 Bytecodes::Code bytecode = bcs.code();
481 case Bytecodes
[all...]
/openjdk7/hotspot/src/share/vm/runtime/
H A Drelocator.cpp199 bool Relocator::is_opcode_lookupswitch(Bytecodes::Code bc) {
201 case Bytecodes::_tableswitch: return false;
202 case Bytecodes::_lookupswitch: // not rewritten on ia64
203 case Bytecodes::_fast_linearswitch: // rewritten _lookupswitch
204 case Bytecodes::_fast_binaryswitch: return true; // rewritten _lookupswitch
213 Bytecodes::Code bc= code_at(bci);
217 case Bytecodes::_tableswitch:
218 case Bytecodes::_lookupswitch:
219 case Bytecodes::_fast_linearswitch:
220 case Bytecodes
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/oops/
H A DGenerateOopMap.java230 case Bytecodes._jsr:
233 case Bytecodes._jsr_w:
563 tty.print(" " + Bytecodes.name(currentBC.code()));
565 case Bytecodes._invokevirtual:
566 case Bytecodes._invokespecial:
567 case Bytecodes._invokestatic:
568 case Bytecodes._invokeinterface:
569 case Bytecodes._invokedynamic:
600 Bytecodes.name(currentBC.code()));
605 case Bytecodes
[all...]

Completed in 798 milliseconds

123456