Mercurial > hg > graal-compiler
diff src/share/vm/memory/dump.cpp @ 1980:828eafbd85cc
6348631: remove the use of the HPI library from Hotspot
Summary: 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
author | ikrylov |
---|---|
date | Wed, 01 Dec 2010 18:26:32 -0500 |
parents | f95d63e2154a |
children | 3582bf76420e |
line wrap: on
line diff
--- a/src/share/vm/memory/dump.cpp Tue Nov 23 13:22:55 2010 -0800 +++ b/src/share/vm/memory/dump.cpp Wed Dec 01 18:26:32 2010 -0500 @@ -1365,7 +1365,7 @@ 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 @@ } 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); }