8140802: Clean up and refactor of class loading code for CDS

Reviewed-by: jiangli, acorn, coleenp
This commit is contained in:
Ioi Lam 2015-08-18 11:27:23 -07:00
parent 0580d65a1c
commit 87b0df30ed
20 changed files with 426 additions and 74 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -29,6 +29,8 @@
#include "oops/instanceKlass.hpp"
#include "runtime/handles.hpp"
class ClassListParser;
class ClassLoaderExt: public ClassLoader { // AllStatic
public:
@ -69,6 +71,7 @@ public:
ClassLoader::add_to_list(new_entry);
}
static void setup_search_paths() {}
static Klass* load_one_class(ClassListParser* parser, TRAPS);
};
#endif // SHARE_VM_CLASSFILE_CLASSLOADEREXT_HPP