/openjdk9/jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/bind/v2/bytecode/ |
H A D | package-info.java | 29 package com.sun.xml.internal.bind.v2.bytecode;
|
/openjdk9/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/debug/ |
H A D | NashornClassReader.java | 40 * as bytecode offsets 48 * @param bytecode bytecode for class 50 public NashornClassReader(final byte[] bytecode) { argument 51 super(bytecode); 52 parse(bytecode); 60 private static int readByte(final byte[] bytecode, final int index) { argument 61 return (byte)(bytecode[index] & 0xff); 64 private static int readShort(final byte[] bytecode, final int index) { argument 65 return (short)((bytecode[inde 68 readInt(final byte[] bytecode, final int index) argument 72 readLong(final byte[] bytecode, final int index) argument 78 readUTF(final int index, final int utfLen, final byte[] bytecode) argument 120 parse(final byte[] bytecode) argument 322 parseCode(final byte[] bytecode, final int index, final int len, final String desc) argument [all...] |
/openjdk9/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.bytecode/src/org/graalvm/compiler/bytecode/ |
H A D | BytecodeDisassembler.java | 23 package org.graalvm.compiler.bytecode; 25 import static org.graalvm.compiler.bytecode.Bytecodes.ALOAD; 26 import static org.graalvm.compiler.bytecode.Bytecodes.ANEWARRAY; 27 import static org.graalvm.compiler.bytecode.Bytecodes.ASTORE; 28 import static org.graalvm.compiler.bytecode.Bytecodes.BIPUSH; 29 import static org.graalvm.compiler.bytecode.Bytecodes.CHECKCAST; 30 import static org.graalvm.compiler.bytecode.Bytecodes.DLOAD; 31 import static org.graalvm.compiler.bytecode.Bytecodes.DSTORE; 32 import static org.graalvm.compiler.bytecode.Bytecodes.FLOAD; 33 import static org.graalvm.compiler.bytecode [all...] |
H A D | Bytecode.java | 23 package org.graalvm.compiler.bytecode; 33 * An interface for accessing the bytecode properties of a {@link ResolvedJavaMethod} that allows 34 * for different properties than those returned by {@link ResolvedJavaMethod}. Since the bytecode 35 * accessed directly from {@link ResolvedJavaMethod} may have been subject to bytecode 37 * bytecode of a method (i.e., as defined in a class file). 42 * Gets the method this object supplies bytecode for. 66 static String toLocation(Bytecode bytecode, int bci) { argument 67 return appendLocation(new StringBuilder(), bytecode, bci).toString(); 70 static StringBuilder appendLocation(StringBuilder sb, Bytecode bytecode, int bci) { argument 71 if (bytecode ! [all...] |
H A D | BytecodeProvider.java | 23 package org.graalvm.compiler.bytecode; 28 * Provides a {@link Bytecode} object for interposing on the bytecode of a 29 * {@link ResolvedJavaMethod} (i.e., potentially getting bytecode different than 35 * Gets a {@link Bytecode} object that supplies bytecode properties for {@code method}. 40 * Determines if this provider supports the INVOKEDYNAMIC bytecode.
|
H A D | ResolvedJavaMethodBytecodeProvider.java | 23 package org.graalvm.compiler.bytecode;
|
/openjdk9/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.java/src/org/graalvm/compiler/java/ |
H A D | LocalLiveness.java | 25 import static org.graalvm.compiler.bytecode.Bytecodes.ALOAD; 26 import static org.graalvm.compiler.bytecode.Bytecodes.ALOAD_0; 27 import static org.graalvm.compiler.bytecode.Bytecodes.ALOAD_1; 28 import static org.graalvm.compiler.bytecode.Bytecodes.ALOAD_2; 29 import static org.graalvm.compiler.bytecode.Bytecodes.ALOAD_3; 30 import static org.graalvm.compiler.bytecode.Bytecodes.ASTORE; 31 import static org.graalvm.compiler.bytecode.Bytecodes.ASTORE_0; 32 import static org.graalvm.compiler.bytecode.Bytecodes.ASTORE_1; 33 import static org.graalvm.compiler.bytecode.Bytecodes.ASTORE_2; 34 import static org.graalvm.compiler.bytecode [all...] |
/openjdk9/hotspot/test/compiler/jvmci/compilerToVM/ |
H A D | GetBytecodeTest.java | 63 byte[] bytecode = CompilerToVMHelper.getBytecode(method); 68 boolean correctLength = (bytecode.length == 0 && shouldHasZeroLength) 69 || (bytecode.length > 0 && !shouldHasZeroLength); 72 + bytecode.length + " length"); 75 Asserts.assertTrue(containsReturn(bytecode), "Bytecode of '" 80 private static boolean containsReturn(byte[] bytecode) { argument 81 for (byte b : bytecode) {
|
/openjdk9/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/interpreter/ |
H A D | BytecodeVisitor.java | 31 public void visit(Bytecode bytecode); argument
|
/openjdk9/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.jtt/src/org/graalvm/compiler/jtt/bytecode/ |
H A D | BC_drem.java | 24 package org.graalvm.compiler.jtt.bytecode;
|
H A D | BC_ddiv.java | 24 package org.graalvm.compiler.jtt.bytecode;
|
H A D | BC_ldc_01.java | 26 package org.graalvm.compiler.jtt.bytecode;
|
H A D | BC_frem.java | 24 package org.graalvm.compiler.jtt.bytecode;
|
H A D | BC_fdiv.java | 24 package org.graalvm.compiler.jtt.bytecode;
|
H A D | BC_aload_2.java | 26 package org.graalvm.compiler.jtt.bytecode;
|
H A D | BC_aload_0.java | 26 package org.graalvm.compiler.jtt.bytecode;
|
H A D | BC_dcmp01.java | 23 package org.graalvm.compiler.jtt.bytecode;
|
H A D | BC_d2l03.java | 24 package org.graalvm.compiler.jtt.bytecode;
|
H A D | BC_getstatic_b.java | 26 package org.graalvm.compiler.jtt.bytecode;
|
/openjdk9/test/lib/ |
H A D | RedefineClassHelper.java | 49 byte[] bytecode = InMemoryJavaCompiler.compile(clazz.getName(), javacode); 50 redefineClass(clazz, bytecode); 57 * @param bytecode byte[] with the new class 59 public static void redefineClass(Class clazz, byte[] bytecode) throws Exception { argument 60 instrumentation.redefineClasses(new ClassDefinition(clazz, bytecode));
|
/openjdk9/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.replacements.test/src/org/graalvm/compiler/replacements/test/classfile/ |
H A D | ClassfileBytecodeProviderTest.java | 25 import static org.graalvm.compiler.bytecode.Bytecodes.ALOAD; 26 import static org.graalvm.compiler.bytecode.Bytecodes.ANEWARRAY; 27 import static org.graalvm.compiler.bytecode.Bytecodes.ASTORE; 28 import static org.graalvm.compiler.bytecode.Bytecodes.BIPUSH; 29 import static org.graalvm.compiler.bytecode.Bytecodes.CHECKCAST; 30 import static org.graalvm.compiler.bytecode.Bytecodes.DLOAD; 31 import static org.graalvm.compiler.bytecode.Bytecodes.DSTORE; 32 import static org.graalvm.compiler.bytecode.Bytecodes.FLOAD; 33 import static org.graalvm.compiler.bytecode.Bytecodes.FSTORE; 34 import static org.graalvm.compiler.bytecode [all...] |
/openjdk9/hotspot/test/serviceability/tmtools/jstat/utils/ |
H A D | GeneratingClassLoader.java | 32 * use TemplateClass as template and will replace class name in the bytecode of 54 byte[] bytecode = getPatchedByteCode(name); 55 c = defineClass(name, bytecode, 0, bytecode.length); 105 byte[] bytecode = getByteCode(); 110 bytecode[offset + i] = replaceBytes[i]; 113 return bytecode; 120 if (bytecode == null) { 124 getOffsets(bytecode); 129 return (byte[]) bytecode 152 getOffsets(byte[] bytecode) argument 190 private byte[] bytecode; field in class:GeneratingClassLoader [all...] |
/openjdk9/hotspot/src/share/vm/interpreter/ |
H A D | interpreter.cpp | 55 void InterpreterCodelet::initialize(const char* description, Bytecodes::Code bytecode) { argument 57 _bytecode = bytecode; 74 if (bytecode() >= 0 ) st->print("%d %s ", bytecode(), Bytecodes::name(bytecode())); 86 Bytecodes::Code bytecode) : 93 _clet->initialize(description, bytecode); 84 CodeletMark(InterpreterMacroAssembler*& masm, const char* description, Bytecodes::Code bytecode) argument
|
/openjdk9/hotspot/src/share/tools/LogCompilation/src/com/sun/hotspot/tools/compiler/ |
H A D | UncommonTrap.java | 30 * given bytecode instruction. An uncommon trap is described in terms of its 32 * to a specific method and only contains the relevant bytecode instruction 40 private String bytecode; field in class:UncommonTrap 46 bytecode = bc; 62 return bytecode;
|
/openjdk9/nashorn/samples/ |
H A D | disassemble.js | 63 function disassemble(bytecode) { 65 new ClassReader(bytecode).accept(new TraceClassVisitor(pw), 0);
|