Searched refs:bytecode (Results 1 - 25 of 48) sorted by relevance

12

/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/hotspot/agent/src/share/classes/sun/jvm/hotspot/tools/jcore/
H A DByteCodeRewriter.java94 int bytecode = Bytecodes._illegal;
100 bytecode = Bytecodes.javaCode(hotspotcode);
106 "Unexpected bytecode found in method bytecode buffer!");
109 // update the code buffer hotspot specific bytecode with the jvm bytecode
110 code[bci] = (byte) (0xFF & bytecode);
113 switch (bytecode) {
135 if (hotspotcode != bytecode) {
142 if (hotspotcode != bytecode) {
[all...]
/openjdk7/hotspot/src/share/vm/interpreter/
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 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.cpp31 // set next bytecode position
62 bytecode().assert_index_size(size, raw_code(), is_wide());
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...]
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.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 DtemplateInterpreter.cpp217 _unimplemented_bytecode = generate_error_exit("unimplemented bytecode");
218 _illegal_bytecode_sequence = generate_error_exit("illegal bytecode sequence - method not verified");
223 CodeletMark cm(_masm, "bytecode tracing support");
445 // code for short & wide version of bytecode
503 step = t->is_wide() ? Bytecodes::wide_length_for(t->bytecode()) : Bytecodes::length_for(t->bytecode());
505 // compute bytecode size
507 // setup stuff for dispatching next bytecode
509 && methodDataOopDesc::bytecode_has_profile(t->bytecode())) {
523 // dispatch to next bytecode
[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/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/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/reflect/opt/
H A DAccessorInjector.java33 import com.sun.xml.internal.bind.v2.bytecode.ClassTailor;
H A DOptimizedAccessorFactory.java38 import static com.sun.xml.internal.bind.v2.bytecode.ClassTailor.toVMClassName;
39 import static com.sun.xml.internal.bind.v2.bytecode.ClassTailor.toVMTypeName;
H A DOptimizedTransducedAccessorFactory.java43 import static com.sun.xml.internal.bind.v2.bytecode.ClassTailor.toVMClassName;
/openjdk7/hotspot/src/share/vm/prims/
H A DmethodComparator.cpp131 // bytecode versions, so we don't have to bother about them here..
270 int old_ofs = _s_old->bytecode().get_offset_s2(c_old);
271 int new_ofs = _s_new->bytecode().get_offset_s2(c_new);
307 int old_ofs = _s_old->bytecode().get_offset_s4(c_old);
308 int new_ofs = _s_new->bytecode().get_offset_s4(c_new);
/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/vm/code/
H A DcompiledIC.hpp148 void set_to_megamorphic(CallInfo* call_info, Bytecodes::Code bytecode, TRAPS);
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/oops/
H A DGenerateOopMap.java170 private int _target_bci; // Target PC address of jump (bytecode index)
171 private List/*<int>*/ _jsrs; // List of return addresses (bytecode index)
226 int bytecode;
228 while( (bytecode = i.next()) >= 0) {
229 switch (bytecode) {
663 int bytecode;
665 while( (bytecode = bcs.next()) >= 0) {
680 switch (bytecode) {
685 markBB(bci + Bytecodes.lengthFor(bytecode), null);
691 markBB(bci + Bytecodes.lengthFor(bytecode), nul
[all...]
/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/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
/openjdk7/hotspot/src/cpu/x86/vm/
H A DtemplateTable_x86_32.cpp221 // We skip bytecode quickening for putfield instructions when
249 // Let breakpoint table handling rewrite to quicker bytecode
266 __ stop("patching the wrong bytecode");
270 // patch bytecode
285 __ stop("shouldnotreachhere bytecode");
436 // We should not encounter this bytecode if !EnableInvokeDynamic.
515 // the next bytecode is neither an iload or a caload, and therefore
533 // rcx: fast bytecode
783 // According to bytecode histograms, the pairs:
790 // bytecode check
[all...]
H A Dinterp_masm_x86_32.hpp87 void get_cache_and_index_and_bytecode_at_bcp(Register cache, Register index, Register bytecode, int byte_no, int bcp_offset, size_t index_size = sizeof(u2));
H A Dinterp_masm_x86_64.hpp109 void get_cache_and_index_and_bytecode_at_bcp(Register cache, Register index, Register bytecode, int byte_no, int bcp_offset, size_t index_size = sizeof(u2));

Completed in 88 milliseconds

12