src/share/vm/interpreter/interpreterRuntime.hpp

changeset 3969
1d7922586cf6
parent 3156
f08d439fab8c
child 4037
da91efe96a93
equal deleted inserted replaced
3944:aba91a731143 3969:1d7922586cf6
69 { return bytecode(thread).get_index_u1(bc); } 69 { return bytecode(thread).get_index_u1(bc); }
70 static int get_index_u2(JavaThread *thread, Bytecodes::Code bc) 70 static int get_index_u2(JavaThread *thread, Bytecodes::Code bc)
71 { return bytecode(thread).get_index_u2(bc); } 71 { return bytecode(thread).get_index_u2(bc); }
72 static int get_index_u2_cpcache(JavaThread *thread, Bytecodes::Code bc) 72 static int get_index_u2_cpcache(JavaThread *thread, Bytecodes::Code bc)
73 { return bytecode(thread).get_index_u2_cpcache(bc); } 73 { return bytecode(thread).get_index_u2_cpcache(bc); }
74 static int get_index_u4(JavaThread *thread, Bytecodes::Code bc)
75 { return bytecode(thread).get_index_u4(bc); }
74 static int number_of_dimensions(JavaThread *thread) { return bcp(thread)[3]; } 76 static int number_of_dimensions(JavaThread *thread) { return bcp(thread)[3]; }
75 77
76 static ConstantPoolCacheEntry* cache_entry_at(JavaThread *thread, int i) { return method(thread)->constants()->cache()->entry_at(i); } 78 static ConstantPoolCacheEntry* cache_entry_at(JavaThread *thread, int i) { return method(thread)->constants()->cache()->entry_at(i); }
77 static ConstantPoolCacheEntry* cache_entry(JavaThread *thread) { return cache_entry_at(thread, Bytes::get_native_u2(bcp(thread) + 1)); } 79 static ConstantPoolCacheEntry* cache_entry(JavaThread *thread) { return cache_entry_at(thread, Bytes::get_native_u2(bcp(thread) + 1)); }
78 static void note_trap(JavaThread *thread, int reason, TRAPS); 80 static void note_trap(JavaThread *thread, int reason, TRAPS);
116 static void throw_illegal_monitor_state_exception(JavaThread* thread); 118 static void throw_illegal_monitor_state_exception(JavaThread* thread);
117 static void new_illegal_monitor_state_exception(JavaThread* thread); 119 static void new_illegal_monitor_state_exception(JavaThread* thread);
118 120
119 // Calls 121 // Calls
120 static void resolve_invoke (JavaThread* thread, Bytecodes::Code bytecode); 122 static void resolve_invoke (JavaThread* thread, Bytecodes::Code bytecode);
123 static void resolve_invokehandle (JavaThread* thread);
121 static void resolve_invokedynamic(JavaThread* thread); 124 static void resolve_invokedynamic(JavaThread* thread);
122 125
123 // Breakpoints 126 // Breakpoints
124 static void _breakpoint(JavaThread* thread, methodOopDesc* method, address bcp); 127 static void _breakpoint(JavaThread* thread, methodOopDesc* method, address bcp);
125 static Bytecodes::Code get_original_bytecode_at(JavaThread* thread, methodOopDesc* method, address bcp); 128 static Bytecodes::Code get_original_bytecode_at(JavaThread* thread, methodOopDesc* method, address bcp);

mercurial