Searched refs:bci (Results 1 - 25 of 245) sorted by relevance

12345678910

/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/Data/src/com/sun/hotspot/igv/data/
H A DInputBytecode.java32 private int bci; field in class:InputBytecode
36 public InputBytecode(int bci, String name) { argument
37 this.bci = bci;
50 return bci;
/openjdk7/hotspot/src/share/vm/runtime/
H A Drelocator.hpp55 virtual void relocated(int bci, int delta, int new_method_size) = 0;
62 methodHandle insert_space_at(int bci, int space, u_char inst_buffer[], TRAPS);
66 bool handle_widen (int bci, int new_ilen, u_char inst_buffer[]); // handles general instructions
67 void push_jump_widen (int bci, int delta, int new_delta); // pushes jumps
68 bool handle_jump_widen (int bci, int delta); // handles jumps
69 bool handle_switch_pad (int bci, int old_pad, bool is_lookup_switch); // handles table and lookup switches
101 Bytecodes::Code code_at(int bci) const { return (Bytecodes::Code) code_array()[bci]; }
102 void code_at_put(int bci, Bytecodes::Code code) { code_array()[bci] argument
106 int_at_put(int bci, int value) argument
110 short_at_put(int bci, short value) argument
115 instruction_length_at(int bci) argument
136 notify(int bci, int delta, int new_code_length) argument
[all...]
H A Drelocator.cpp45 ChangeItem(int bci) { _bci = bci; } argument
54 int bci() { return _bci; } function in class:ChangeItem
57 virtual bool adjust(int bci, int delta) { return false; } argument
64 int _new_ilen; // New length of instruction at bci
67 ChangeWiden(int bci, int new_ilen, u_char* inst_buffer) : ChangeItem(bci) { argument
73 bool handle_code_change(Relocator *r) { return r->handle_widen(bci(), _new_ilen, _inst_buffer); };
77 void print() { tty->print_cr("ChangeWiden. bci: %d New_ilen: %d", bci(), _new_ile
83 ChangeJumpWiden(int bci, int delta) argument
109 ChangeSwitchPad(int bci, int padding, bool is_lookup_switch) argument
144 insert_space_at(int bci, int size, u_char inst_buffer[], TRAPS) argument
212 rc_instr_len(int bci) argument
250 get_orig_switch_pad(int bci, bool is_lookup_switch) argument
268 push_jump_widen(int bci, int delta, int new_delta) argument
281 change_jump(int bci, int offset, bool is_short, int break_bci, int delta) argument
307 int bci = 0; local
394 adjust_exception_table(int bci, int delta) argument
410 adjust_line_no_table(int bci, int delta) argument
426 adjust_local_var_table(int bci, int delta) argument
465 adjust_stack_map_table(int bci, int delta) argument
590 relocate_code(int bci, int ilen, int delta) argument
637 handle_widen(int bci, int new_ilen, u_char inst_buffer[]) argument
651 handle_jump_widen(int bci, int delta) argument
729 handle_switch_pad(int bci, int old_pad, bool is_lookup_switch) argument
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/interpreter/
H A DBytecode.java33 int bci; field in class:Bytecode
38 Bytecode(Method method, int bci) { argument
40 this.bci = bci;
46 return Bits.roundTo(bci + offset, jintSize) - bci;
49 public int getIndexU1() { return method.getBytecodeOrBPAt(bci() + 1) & 0xFF; }
52 return method.getNativeShortArg(bci() + (isWide ? 2 : 1)) & 0xFFFF;
54 return method.getBytecodeShortArg(bci() + (isWide ? 2 : 1)) & 0xFFFF;
56 public int getIndexU4() { return method.getNativeIntArg(bci()
79 public int bci() { return bci; } method in class:Bytecode
[all...]
H A DBytecodeGoto.java31 BytecodeGoto(Method method, int bci) { argument
32 super(method, bci);
36 return bci() + javaShortAt(1);
49 public static BytecodeGoto at(Method method, int bci) { argument
50 BytecodeGoto b = new BytecodeGoto(method, bci);
58 public static BytecodeGoto atCheck(Method method, int bci) { argument
59 BytecodeGoto b = new BytecodeGoto(method, bci);
64 return new BytecodeGoto(bcs.method(), bcs.bci());
H A DBytecodeGotoW.java31 BytecodeGotoW(Method method, int bci) { argument
32 super(method, bci);
36 return bci() + javaSignedWordAt(1);
49 public static BytecodeGotoW at(Method method, int bci) { argument
50 BytecodeGotoW b = new BytecodeGotoW(method, bci);
58 public static BytecodeGotoW atCheck(Method method, int bci) { argument
59 BytecodeGotoW b = new BytecodeGotoW(method, bci);
64 return new BytecodeGotoW(bcs.method(), bcs.bci());
H A DBytecodeJsr.java31 BytecodeJsr(Method method, int bci) { argument
32 super(method, bci);
36 return bci() + javaShortAt(1);
49 public static BytecodeJsr at(Method method, int bci) { argument
50 BytecodeJsr b = new BytecodeJsr(method, bci);
58 public static BytecodeJsr atCheck(Method method, int bci) { argument
59 BytecodeJsr b = new BytecodeJsr(method, bci);
64 return new BytecodeJsr(bcs.method(), bcs.bci());
H A DBytecodeJsrW.java31 BytecodeJsrW(Method method, int bci) { argument
32 super(method, bci);
36 return bci() + javaSignedWordAt(1);
49 public static BytecodeJsrW at(Method method, int bci) { argument
50 BytecodeJsrW b = new BytecodeJsrW(method, bci);
58 public static BytecodeJsrW atCheck(Method method, int bci) { argument
59 BytecodeJsrW b = new BytecodeJsrW(method, bci);
64 return new BytecodeJsrW(bcs.method(), bcs.bci());
H A DBytecodeWideable.java30 BytecodeWideable(Method method, int bci) { argument
31 super(method, bci);
35 int prevBci = bci() - 1;
H A DBytecodeANewArray.java31 BytecodeANewArray(Method method, int bci) { argument
32 super(method, bci);
49 public static BytecodeANewArray at(Method method, int bci) { argument
50 BytecodeANewArray b = new BytecodeANewArray(method, bci);
58 public static BytecodeANewArray atCheck(Method method, int bci) { argument
59 BytecodeANewArray b = new BytecodeANewArray(method, bci);
64 return new BytecodeANewArray(bcs.method(), bcs.bci());
H A DBytecodeCheckCast.java31 BytecodeCheckCast(Method method, int bci) { argument
32 super(method, bci);
49 public static BytecodeCheckCast at(Method method, int bci) { argument
50 BytecodeCheckCast b = new BytecodeCheckCast(method, bci);
58 public static BytecodeCheckCast atCheck(Method method, int bci) { argument
59 BytecodeCheckCast b = new BytecodeCheckCast(method, bci);
64 return new BytecodeCheckCast(bcs.method(), bcs.bci());
H A DBytecodeGetField.java31 BytecodeGetField(Method method, int bci) { argument
32 super(method, bci);
49 public static BytecodeGetField at(Method method, int bci) { argument
50 BytecodeGetField b = new BytecodeGetField(method, bci);
58 public static BytecodeGetField atCheck(Method method, int bci) { argument
59 BytecodeGetField b = new BytecodeGetField(method, bci);
64 return new BytecodeGetField(bcs.method(), bcs.bci());
H A DBytecodeGetStatic.java31 BytecodeGetStatic(Method method, int bci) { argument
32 super(method, bci);
49 public static BytecodeGetStatic at(Method method, int bci) { argument
50 BytecodeGetStatic b = new BytecodeGetStatic(method, bci);
58 public static BytecodeGetStatic atCheck(Method method, int bci) { argument
59 BytecodeGetStatic b = new BytecodeGetStatic(method, bci);
64 return new BytecodeGetStatic(bcs.method(), bcs.bci());
H A DBytecodeInstanceOf.java31 BytecodeInstanceOf(Method method, int bci) { argument
32 super(method, bci);
49 public static BytecodeInstanceOf at(Method method, int bci) { argument
50 BytecodeInstanceOf b = new BytecodeInstanceOf(method, bci);
58 public static BytecodeInstanceOf atCheck(Method method, int bci) { argument
59 BytecodeInstanceOf b = new BytecodeInstanceOf(method, bci);
64 return new BytecodeInstanceOf(bcs.method(), bcs.bci());
H A DBytecodeLoad.java31 BytecodeLoad(Method method, int bci) { argument
32 super(method, bci);
55 public static BytecodeLoad at(Method method, int bci) { argument
56 BytecodeLoad b = new BytecodeLoad(method, bci);
64 public static BytecodeLoad atCheck(Method method, int bci) { argument
65 BytecodeLoad b = new BytecodeLoad(method, bci);
70 return new BytecodeLoad(bcs.method(), bcs.bci());
H A DBytecodeNew.java31 BytecodeNew(Method method, int bci) { argument
32 super(method, bci);
49 public static BytecodeNew at(Method method, int bci) { argument
50 BytecodeNew b = new BytecodeNew(method, bci);
58 public static BytecodeNew atCheck(Method method, int bci) { argument
59 BytecodeNew b = new BytecodeNew(method, bci);
64 return new BytecodeNew(bcs.method(), bcs.bci());
H A DBytecodePutField.java31 BytecodePutField(Method method, int bci) { argument
32 super(method, bci);
49 public static BytecodePutField at(Method method, int bci) { argument
50 BytecodePutField b = new BytecodePutField(method, bci);
58 public static BytecodePutField atCheck(Method method, int bci) { argument
59 BytecodePutField b = new BytecodePutField(method, bci);
64 return new BytecodePutField(bcs.method(), bcs.bci());
H A DBytecodePutStatic.java31 BytecodePutStatic(Method method, int bci) { argument
32 super(method, bci);
49 public static BytecodePutStatic at(Method method, int bci) { argument
50 BytecodePutStatic b = new BytecodePutStatic(method, bci);
58 public static BytecodePutStatic atCheck(Method method, int bci) { argument
59 BytecodePutStatic b = new BytecodePutStatic(method, bci);
64 return new BytecodePutStatic(bcs.method(), bcs.bci());
H A DBytecodeStore.java31 BytecodeStore(Method method, int bci) { argument
32 super(method, bci);
55 public static BytecodeStore at(Method method, int bci) { argument
56 BytecodeStore b = new BytecodeStore(method, bci);
64 public static BytecodeStore atCheck(Method method, int bci) { argument
65 BytecodeStore b = new BytecodeStore(method, bci);
70 return new BytecodeStore(bcs.method(), bcs.bci());
H A DBytecodeStream.java35 private int _bci; // bci if current bytecode
36 private int _next_bci; // bci of next bytecode
37 private int _end_bci; // bci after the current iteration interval
81 Assert.that(false, "Failure occurred at bci " + _bci + " in method " + _method.externalNameAndSignature());
109 public int bci() { return _bci; } method in class:BytecodeStream
118 public void setNextBCI(int bci) { argument
120 Assert.that(0 <= bci && bci <= _method.getCodeSize(), "illegal bci");
122 _next_bci = bci;
142 codeAt(int bci) argument
[all...]
H A DBytecodeIf.java31 BytecodeIf(Method method, int bci) { argument
32 super(method, bci);
36 return bci() + javaShortAt(1);
51 public static BytecodeIf at(Method method, int bci) { argument
52 BytecodeIf b = new BytecodeIf(method, bci);
60 public static BytecodeIf atCheck(Method method, int bci) { argument
61 BytecodeIf b = new BytecodeIf(method, bci);
66 return new BytecodeIf(bcs.method(), bcs.bci());
H A DLookupswitchPair.java30 LookupswitchPair(Method method, int bci) { argument
31 super(method, bci);
H A DBytecodeLookupswitch.java31 BytecodeLookupswitch(Method method, int bci) { argument
32 super(method, bci);
42 return new LookupswitchPair(method, bci + alignedOffset(1 + (1 + i)*2*jintSize));
62 public static BytecodeLookupswitch at(Method method, int bci) { argument
63 BytecodeLookupswitch b = new BytecodeLookupswitch(method, bci);
71 public static BytecodeLookupswitch atCheck(Method method, int bci) { argument
72 BytecodeLookupswitch b = new BytecodeLookupswitch(method, bci);
77 return new BytecodeLookupswitch(bcs.method(), bcs.bci());
85 buf.append(Integer.toString(bci() + defaultOffset()));
93 buf.append(Integer.toString(bci()
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/oops/
H A DCompressedLineNumberReadStream.java40 /** Read (bci, line number) pair from stream. Returns false at end-of-stream. */
47 bci += readSignedInt();
51 bci += next >> 3;
57 public int bci() { return bci; } method in class:CompressedLineNumberReadStream
64 private int bci; field in class:CompressedLineNumberReadStream
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/tools/jcore/
H A DByteCodeRewriter.java57 protected short getConstantPoolIndex(int rawcode, int bci) { argument
58 // get ConstantPool index from ConstantPoolCacheIndex at given bci
62 case 2: cpCacheIndex = method.getBytecodeByteArg(bci); break;
63 case 3: cpCacheIndex = method.getBytecodeShortArg(bci); break;
66 cpCacheIndex = method.getBytecodeShortArg(bci);
68 cpCacheIndex = method.getBytecodeIntArg(bci);
98 for (int bci = 0; bci < code.length;) {
99 hotspotcode = Bytecodes.codeAt(method, bci);
103 int code_from_buffer = 0xFF & code[bci];
[all...]

Completed in 92 milliseconds

12345678910