Searched refs:jimage (Results 1 - 25 of 74) sorted by relevance

123

/openjdk10/jdk/src/java.base/share/classes/jdk/internal/jimage/
H A DImageStrings.java26 package jdk.internal.jimage;
31 * It is used internally in the JDK to implement jimage/jrtfs access,
33 * to the jimage file provided by the shipped JDK by tools running on JDK 8.
H A DImageReaderFactory.java26 package jdk.internal.jimage;
42 * It is used internally in the JDK to implement jimage/jrtfs access,
44 * to the jimage file provided by the shipped JDK by tools running on JDK 8.
58 public static ImageReader get(Path jimage) throws IOException { argument
59 Objects.requireNonNull(jimage);
61 return readers.computeIfAbsent(jimage, OPENER);
H A DNativeImageBuffer.java25 package jdk.internal.jimage;
32 * It is used internally in the JDK to implement jimage/jrtfs access,
34 * to the jimage file provided by the shipped JDK by tools running on JDK 8.
41 System.loadLibrary("jimage");
/openjdk10/hotspot/src/share/vm/classfile/
H A Djimage.hpp55 * failure; a positive value for a system error number, negative for a jimage
60 * JImageFile* jimage = (*JImageOpen)(JAVA_HOME "lib/modules", &error);
82 extern "C" void JIMAGE_Close(JImageFile* jimage);
84 typedef void (*JImageClose_t)(JImageFile* jimage);
100 extern "C" const char * JIMAGE_PackageToModule(JImageFile* jimage, const char* package_name);
102 typedef const char* (*JImagePackageToModule_t)(JImageFile* jimage, const char* package_name);
119 extern "C" JImageLocationRef JIMAGE_FindResource(JImageFile* jimage,
123 typedef JImageLocationRef(*JImageFindResource_t)(JImageFile* jimage,
143 extern "C" jlong JIMAGE_GetResource(JImageFile* jimage, JImageLocationRef location,
146 typedef jlong(*JImageGetResource_t)(JImageFile* jimage, JImageLocationRe
[all...]
/openjdk10/jdk/src/java.base/share/native/libjimage/
H A Djimage.hpp62 * failure; a positive value for a system error number, negative for a jimage
67 * JImageFile* jimage = (*JImageOpen)(JAVA_HOME "lib/modules", &error);
89 extern "C" void JIMAGE_Close(JImageFile* jimage);
91 typedef void (*JImageClose_t)(JImageFile* jimage);
107 extern "C" const char * JIMAGE_PackageToModule(JImageFile* jimage, const char* package_name);
109 typedef const char* (*JImagePackageToModule_t)(JImageFile* jimage, const char* package_name);
126 extern "C" JImageLocationRef JIMAGE_FindResource(JImageFile* jimage,
130 typedef JImageLocationRef(*JImageFindResource_t)(JImageFile* jimage,
150 extern "C" jlong JIMAGE_GetResource(JImageFile* jimage, JImageLocationRef location,
153 typedef jlong(*JImageGetResource_t)(JImageFile* jimage, JImageLocationRe
[all...]
/openjdk10/jdk/test/tools/jimage/
H A DJImageBasicsTest.java26 * @summary Tests to verify jimage basic options, i.e. --version, -h
28 * @modules jdk.jlink/jdk.tools.jimage
38 jimage("--version")
46 jimage("--full-version")
54 jimage("--help")
60 jimage("-h")
66 jimage("unknown")
72 jimage("--unknown")
78 assertTrue(output.startsWith("Usage: jimage"), "Usage is printed.");
H A DJImageVerifyTest.java26 * @summary Tests to verify jimage 'verify' action
28 * @modules jdk.jlink/jdk.tools.jimage
44 jimage("verify", getImagePath())
47 assertTrue(r.output.startsWith("jimage: " + getImagePath()),
54 jimage("verify", opt)
64 jimage("verify", "")
71 jimage("verify", tmp.toString())
79 jimage("verify", "")
85 jimage("verify", "--unknown")
H A DJImageInfoTest.java26 * @summary Tests to verify jimage 'info' action
28 * @modules jdk.jlink/jdk.tools.jimage
37 jimage("info", getImagePath())
55 jimage("info", opt)
65 jimage("info", "--unknown")
H A DJImageListTest.java26 * @summary Tests to verify jimage 'list' action
28 * @modules jdk.jlink/jdk.tools.jimage
47 jimage("list", getImagePath())
52 assertTrue(lines[0].startsWith("jimage: " + getImagePath()),
53 "Output should start with jimage path.");
66 jimage("list", opt)
76 jimage("list", "--verbose", getImagePath())
83 assertTrue(lines[0].startsWith("jimage: " + getImagePath()),
84 "Output should start with jimage path.");
98 assertEquals(entries, new HashSet<>() {{ add("jimage
[all...]
H A DJImageExtractTest.java26 * @summary Tests to verify jimage 'extract' action
28 * @modules jdk.jlink/jdk.tools.jimage
50 jimage("extract", getImagePath())
60 jimage("extract", "--help")
71 jimage("extract", "--dir", tmp.toString(), getImagePath())
80 jimage("extract", "")
87 jimage("extract", tmp.toString())
95 jimage("extract", tmp.toString())
101 jimage("extract", "--dir", "--", getImagePath())
109 jimage("extrac
[all...]
H A DJImageToolTest.java27 * @summary Test to check if jimage tool exists and is working
40 * Basic test for jimage tool.
43 private static void jimage(String... jimageArgs) throws Exception { method in class:JImageToolTest
46 args.add("jdk.tools.jimage.Main");
59 Path jimagePath = Paths.get(home, "bin", "jimage");
63 String jimage = jimagePath.toAbsolutePath().toString();
64 jimage("--version");
H A DVerifyJimage.java45 import jdk.internal.jimage.BasicImageReader;
46 import jdk.internal.jimage.ImageLocation;
50 * @summary Verify jimage
51 * @modules java.base/jdk.internal.jimage
57 * (1) No argument: it verifies the jimage by loading all classes in the runtime
59 * module with the entry in jimage
61 * FIXME: exception thrown when findLocation from jimage by multiple threads
82 // load classes from jimage
120 System.out.println("comparing jimage with " + dir);
218 Path jimage
224 final Path jimage; field in class:VerifyJimage.JImageReader
[all...]
/openjdk10/jdk/src/java.base/share/classes/jdk/internal/jimage/decompressor/
H A DResourceDecompressor.java25 package jdk.internal.jimage.decompressor;
33 * It is used internally in the JDK to implement jimage/jrtfs access,
35 * to the jimage file provided by the shipped JDK by tools running on JDK 8.
H A DResourceDecompressorFactory.java25 package jdk.internal.jimage.decompressor;
36 * It is used internally in the JDK to implement jimage/jrtfs access,
38 * to the jimage file provided by the shipped JDK by tools running on JDK 8.
H A DZipDecompressorFactory.java25 package jdk.internal.jimage.decompressor;
36 * It is used internally in the JDK to implement jimage/jrtfs access,
38 * to the jimage file provided by the shipped JDK by tools running on JDK 8.
H A DStringSharingDecompressorFactory.java25 package jdk.internal.jimage.decompressor;
36 * It is used internally in the JDK to implement jimage/jrtfs access,
38 * to the jimage file provided by the shipped JDK by tools running on JDK 8.
H A DResourceDecompressorRepository.java25 package jdk.internal.jimage.decompressor;
39 * It is used internally in the JDK to implement jimage/jrtfs access,
41 * to the jimage file provided by the shipped JDK by tools running on JDK 8.
H A DZipDecompressor.java25 package jdk.internal.jimage.decompressor;
36 * It is used internally in the JDK to implement jimage/jrtfs access,
38 * to the jimage file provided by the shipped JDK by tools running on JDK 8.
H A DCompressedResourceHeader.java25 package jdk.internal.jimage.decompressor;
30 import jdk.internal.jimage.decompressor.ResourceDecompressor.StringsProvider;
40 * It is used internally in the JDK to implement jimage/jrtfs access,
42 * to the jimage file provided by the shipped JDK by tools running on JDK 8.
/openjdk10/jdk/make/launcher/
H A DLauncher-jdk.jlink.gmk28 $(eval $(call SetupBuildLauncher, jimage,\
29 MAIN_CLASS := jdk.tools.jimage.Main, \
/openjdk10/jdk/src/jdk.jlink/share/classes/jdk/tools/jimage/
H A DMain.java26 package jdk.tools.jimage;
/openjdk10/jdk/src/jdk.jlink/share/classes/jdk/tools/jlink/internal/
H A DImageStringsWriter.java30 import jdk.internal.jimage.ImageStream;
31 import jdk.internal.jimage.ImageStrings;
32 import jdk.internal.jimage.ImageStringsReader;
/openjdk10/jdk/make/gensrc/
H A DGensrc-jdk.jlink.gmk43 SRC_DIRS := $(JDK_TOPDIR)/src/jdk.jlink/share/classes/jdk/tools/jimage/resources, \
/openjdk10/make/
H A DInterimImage.gmk47 $(call LogWarn, Creating interim jimage)
/openjdk10/hotspot/test/testlibrary/ctw/src/sun/hotspot/tools/ctw/
H A DClassPathJimageEntry.java26 import jdk.internal.jimage.ImageReader;
27 import jdk.internal.jimage.ImageLocation;
37 * Handler for jimage-files containing classes to compile.
58 return "# jimage: " + root;

Completed in 120 milliseconds

123