Searched defs:bytecode (Results 1 - 21 of 21) sorted by relevance

/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/interpreter/
H A DBytecodeVisitor.java31 public void visit(Bytecode bytecode); argument
H A DBytecodeDisassembler.java37 private static void addBytecodeClass(int bytecode, Class clazz) { argument
38 bytecode2Class.put(new Integer(bytecode), clazz);
41 private static Class getBytecodeClass(int bytecode) { argument
42 return (Class) bytecode2Class.get(new Integer(bytecode));
124 // use generic bytecode class
129 // All bytecode classes must have a constructor with signature
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/bytecode/
H A DClassTailor.java26 package com.sun.xml.internal.bind.v2.bytecode;
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/Bytecodes/src/com/sun/hotspot/igv/bytecodes/
H A DBytecodeNode.java49 public BytecodeNode(InputBytecode bytecode, InputGraph graph, String bciValue) { argument
52 this.setDisplayName(bytecode.getBci() + " " + bytecode.getName());
54 bciValue = bytecode.getBci() + " " + bciValue;
74 return Utilities.loadImage("com/sun/hotspot/igv/bytecodes/images/bytecode.gif");
/openjdk7/hotspot/src/share/vm/interpreter/
H A DinterpreterRuntime.hpp28 #include "interpreter/bytecode.hpp"
67 static Bytecode bytecode(JavaThread *thread) { return Bytecode(method(thread), bcp(thread)); } function in class:InterpreterRuntime
69 { return bytecode(thread).get_index_u1(bc); }
71 { return bytecode(thread).get_index_u2(bc); }
73 { return bytecode(thread).get_index_u2_cpcache(bc); }
75 { return bytecode(thread).get_index_u4(bc); }
88 static void resolve_ldc (JavaThread* thread, Bytecodes::Code bytecode);
112 static void resolve_get_put(JavaThread* thread, Bytecodes::Code bytecode);
122 static void resolve_invoke (JavaThread* thread, Bytecodes::Code bytecode);
H A DbytecodeStream.hpp28 #include "interpreter/bytecode.hpp"
69 int _bci; // bci if current bytecode
70 int _next_bci; // bci of next bytecode
73 // last bytecode read
114 Bytecode bytecode() const { return Bytecode(_method(), bcp()); } function in class:BaseBytecodeStream
120 int dest() const { return bci() + bytecode().get_offset_s2(raw_code()); }
121 int dest_w() const { return bci() + bytecode().get_offset_s4(raw_code()); }
150 // set next bytecode position
154 && code != Bytecodes::_lookupswitch, "can't be special bytecode");
193 // indicate end of bytecode strea
[all...]
H A Dinterpreter.hpp50 Bytecodes::Code _bytecode; // associated bytecode if any
73 void initialize(const char* description, Bytecodes::Code bytecode);
78 Bytecodes::Code bytecode() const { return _bytecode; } function in class:InterpreterCodelet
112 Bytecodes::Code bytecode = Bytecodes::_illegal):
120 _clet->initialize(description, bytecode);
H A Dinterpreter.cpp52 void InterpreterCodelet::initialize(const char* description, Bytecodes::Code bytecode) { argument
54 _bytecode = bytecode;
71 if (bytecode() >= 0 ) st->print("%d %s ", bytecode(), Bytecodes::name(bytecode()));
211 // We need to execute the special return bytecode to check for
260 // Return true if the interpreter can prove that the given bytecode has
270 // the bytecode might not be rewritten if the method is an accessor, etc.
276 // otherwise, we can be sure this bytecode has never been executed
316 // If deoptimization happens, this function returns the point of next bytecode t
[all...]
H A DtemplateTable.cpp51 Bytecodes::Code Template::bytecode() const { function in class:Template
202 assert(t->bytecode() == code, "just checkin'");
546 _masm->unimplemented( Bytecodes::name(_desc->bytecode()));
H A DtemplateTable.hpp51 // All the necessary definitions used for (bytecode) template generation. Instead of
52 // spreading the implementation functionality for each bytecode in the interpreter
53 // and the snippet generator, a template is assigned to each bytecode which can be
54 // used to generate the bytecode's implementation if needed.
57 // A Template describes the properties of a code template for a given bytecode
63 uses_bcp_bit, // set if template needs the bcp pointing to bytecode
82 Bytecodes::Code bytecode() const;
95 // to get the template for a given bytecode.
109 static Bytecodes::Code bytecode() { return _desc->bytecode(); } function in class:TemplateTable
[all...]
H A DinterpreterRuntime.cpp136 IRT_ENTRY(void, InterpreterRuntime::resolve_ldc(JavaThread* thread, Bytecodes::Code bytecode)) { argument
137 assert(bytecode == Bytecodes::_fast_aldc ||
138 bytecode == Bytecodes::_fast_aldc_w, "wrong bc");
145 // The bytecode wrappers aren't GC-safe so construct a new one
181 // because the _breakpoint bytecode would be lost.
239 // Force resolving; quicken the bytecode
243 // program we might have seen an unquick'd bytecode in the interpreter but have another
244 // thread quicken the bytecode before we get here.
507 IRT_ENTRY(void, InterpreterRuntime::resolve_get_put(JavaThread* thread, Bytecodes::Code bytecode))
511 bool is_put = (bytecode
659 IRT_ENTRY(void, InterpreterRuntime::resolve_invoke(JavaThread* thread, Bytecodes::Code bytecode)) argument
734 const Bytecodes::Code bytecode = Bytecodes::_invokehandle; local
758 const Bytecodes::Code bytecode = Bytecodes::_invokedynamic; local
[all...]
/openjdk7/hotspot/src/share/vm/ci/
H A DciStreams.hpp32 #include "interpreter/bytecode.hpp"
59 address _bc_start; // Start of current bytecode for table
60 address _was_wide; // Address past last wide bytecode
66 Bytecodes::Code _bc; // Current bytecode
67 Bytecodes::Code _raw_bc; // Current bytecode, raw form
81 Bytecode bytecode() const { return Bytecode(this, _bc_start); } function in class:ciBytecodeStream
129 // Return current ByteCode and increment PC to next bytecode, skipping all
138 // Fetch Java bytecode
139 // All rewritten bytecodes maintain the size of original bytecode.
142 _pc += csize; // Bump PC past bytecode
[all...]
/openjdk7/hotspot/src/share/vm/code/
H A DcompiledIC.cpp139 void CompiledIC::set_to_megamorphic(CallInfo* call_info, Bytecodes::Code bytecode, TRAPS) { argument
141 bool is_invoke_interface = (bytecode == Bytecodes::_invokeinterface && !call_info->has_vtable_index());
/openjdk7/hotspot/src/share/vm/c1/
H A Dc1_CodeStubs.hpp125 ConversionStub(Bytecodes::Code bytecode, LIR_Opr input, LIR_Opr result) argument
126 : _bytecode(bytecode), _input(input), _result(result) {
129 Bytecodes::Code bytecode() { return _bytecode; } function in class:ConversionStub
H A Dc1_LIR.hpp1432 Bytecodes::Code bytecode() const { return _bytecode; } function in class:LIR_OpConvert
/openjdk7/hotspot/src/share/vm/opto/
H A DdoCall.cpp70 Bytecodes::Code bytecode = caller->java_code_at_bci(bci); local
373 ciMethod* orig_callee = iter().get_method(will_link, &declared_signature); // callee in the bytecode
533 // Nothing. These cases are handled in lambda form bytecode.
579 // If there is going to be a trap, put it at the next bytecode:
693 // Handle all exceptions thrown by an inlined method or individual bytecode.
864 default: fatal("unexpected call bytecode");
873 default: fatal("unexpected call bytecode");
/openjdk7/hotspot/src/share/vm/oops/
H A DgenerateOopMap.cpp74 // '@' bottom/unexecuted; initial state each bytecode.
227 Bytecodes::Code bytecode; local
229 while( (bytecode = i.next()) >= 0) {
230 switch (bytecode) {
411 Bytecodes::Code bytecode; local
413 while( (bytecode = bcs.next()) >= 0) {
422 switch (bytecode) {
425 bb_mark_fct(this, bci + Bytecodes::length_for(bytecode), NULL);
429 bb_mark_fct(this, bci + Bytecodes::length_for(bytecode), NULL);
470 // Position bytecodestream at last bytecode i
473 Bytecodes::Code bytecode = bcs.code(); local
923 Bytecodes::Code bytecode; local
[all...]
/openjdk7/hotspot/src/cpu/x86/vm/
H A Dinterp_masm_x86_32.cpp209 assert(bcp_offset >= 0, "bcp is still pointing to start of bytecode");
217 assert(bcp_offset > 0, "bcp is still pointing to start of bytecode");
249 Register bytecode,
254 movptr(bytecode, Address(cache, index, Address::times_ptr, constantPoolCacheOopDesc::base_offset() + ConstantPoolCacheEntry::indices_offset()));
259 shrptr(bytecode, shift_count);
261 andptr(bytecode, ConstantPoolCacheEntry::bytecode_1_mask);
485 // load next bytecode (load before advancing rsi to prevent AGI)
494 // load current bytecode
544 // to check that the object has not been unlocked by an explicit monitorexit bytecode.
742 // Unlocks an object. Used in monitorexit bytecode an
247 get_cache_and_index_and_bytecode_at_bcp(Register cache, Register index, Register bytecode, int byte_no, int bcp_offset, size_t index_size) argument
[all...]
H A Dinterp_masm_x86_64.cpp205 assert(bcp_offset >= 0, "bcp is still pointing to start of bytecode");
215 assert(bcp_offset > 0, "bcp is still pointing to start of bytecode");
250 Register bytecode,
257 movl(bytecode, Address(cache, index, Address::times_ptr, constantPoolCacheOopDesc::base_offset() + ConstantPoolCacheEntry::indices_offset()));
262 shrl(bytecode, shift_count);
264 andl(bytecode, ConstantPoolCacheEntry::bytecode_1_mask);
485 // load next bytecode (load before advancing r13 to prevent AGI)
493 // load current bytecode
543 // not been unlocked by an explicit monitorexit bytecode.
746 // Unlocks an object. Used in monitorexit bytecode an
248 get_cache_and_index_and_bytecode_at_bcp(Register cache, Register index, Register bytecode, int byte_no, int bcp_offset, size_t index_size) argument
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/comp/
H A DLower.java783 /** Map bytecode of binary operation to access code of corresponding
786 private static int accessCode(int bytecode) { argument
787 if (ByteCodes.iadd <= bytecode && bytecode <= ByteCodes.lxor)
788 return (bytecode - iadd) * 2 + FIRSTASGOPcode;
789 else if (bytecode == ByteCodes.string_add)
791 else if (ByteCodes.ishll <= bytecode && bytecode <= ByteCodes.lushrl)
792 return (bytecode - ishll + ByteCodes.lxor + 2 - iadd) * 2 + FIRSTASGOPcode;
/openjdk7/hotspot/src/cpu/sparc/vm/
H A Dinterp_masm_sparc.cpp84 // Dispatch code executed in the prolog of a bytecode which does not do it's
92 ldub(Lbcp, bcp_incr, Lbyte_code); // load next bytecode
98 ldub( Lbcp, bcp_incr, Lbyte_code); // load next bytecode
108 // Dispatch code executed in the epilog of a bytecode which does not do it's
124 ldub( Lbcp, bcp_incr, Lbyte_code); // load next bytecode
132 ldub( Lbcp, bcp_incr, Lbyte_code); // load next bytecode
138 // load current bytecode
140 ldub( Lbcp, 0, Lbyte_code); // load next bytecode
731 assert(bcp_offset > 0, "bcp is still pointing to start of bytecode");
750 assert(bcp_offset > 0, "bcp is still pointing to start of bytecode");
761 get_cache_and_index_and_bytecode_at_bcp(Register cache, Register temp, Register bytecode, int byte_no, int bcp_offset, size_t index_size) argument
[all...]

Completed in 157 milliseconds