mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 18:14:38 +02:00
Merge
This commit is contained in:
commit
b7ca1e57ee
255 changed files with 6692 additions and 5051 deletions
|
@ -40,7 +40,7 @@
|
|||
#include "memory/metaspaceShared.hpp"
|
||||
#include "oops/objArrayOop.hpp"
|
||||
#include "oops/oop.inline.hpp"
|
||||
#include "runtime/logTimer.hpp"
|
||||
#include "runtime/timerTrace.hpp"
|
||||
#include "runtime/os.hpp"
|
||||
#include "runtime/signature.hpp"
|
||||
#include "runtime/vmThread.hpp"
|
||||
|
@ -775,7 +775,7 @@ void MetaspaceShared::prepare_for_dumping() {
|
|||
// Preload classes from a list, populate the shared spaces and dump to a
|
||||
// file.
|
||||
void MetaspaceShared::preload_and_dump(TRAPS) {
|
||||
{ TraceStartupTime timer("Dump Shared Spaces");
|
||||
{ TraceTime timer("Dump Shared Spaces", TRACETIME_LOG(Info, startuptime));
|
||||
ResourceMark rm;
|
||||
char class_list_path_str[JVM_MAXPATHLEN];
|
||||
|
||||
|
@ -882,7 +882,7 @@ int MetaspaceShared::preload_and_dump(const char* class_list_path,
|
|||
|
||||
InstanceKlass* ik = InstanceKlass::cast(klass);
|
||||
|
||||
// Should be class load order as per -XX:+TraceClassLoadingPreorder
|
||||
// Should be class load order as per -Xlog:classload+preorder
|
||||
class_promote_order->append(ik);
|
||||
|
||||
// Link the class to cause the bytecodes to be rewritten and the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue