mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
6348631: remove the use of the HPI library from Hotspot
Move functions from hpi library to hotspot, communicate with licensees and open source community, check jdk for dependency, file CCC request Reviewed-by: coleenp, acorn, dsamersoff
This commit is contained in:
parent
8006fe8f75
commit
9802f91e66
43 changed files with 1364 additions and 1839 deletions
|
@ -1365,7 +1365,7 @@ void GenCollectedHeap::preload_and_dump(TRAPS) {
|
|||
ResourceMark rm;
|
||||
|
||||
// Preload classes to be shared.
|
||||
// Should use some hpi:: method rather than fopen() here. aB.
|
||||
// Should use some os:: method rather than fopen() here. aB.
|
||||
// Construct the path to the class list (in jre/lib)
|
||||
// Walk up two directories from the location of the VM and
|
||||
// optionally tack on "lib" (depending on platform)
|
||||
|
@ -1504,7 +1504,7 @@ void GenCollectedHeap::preload_and_dump(TRAPS) {
|
|||
|
||||
} else {
|
||||
char errmsg[JVM_MAXPATHLEN];
|
||||
hpi::lasterror(errmsg, JVM_MAXPATHLEN);
|
||||
os::lasterror(errmsg, JVM_MAXPATHLEN);
|
||||
tty->print_cr("Loading classlist failed: %s", errmsg);
|
||||
exit(1);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue