mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
7198429: need checked categorization of caller-sensitive methods in the JDK
Reviewed-by: kvn, jrose
This commit is contained in:
parent
e4b1cf5f02
commit
6964a690ed
18 changed files with 413 additions and 305 deletions
|
@ -321,6 +321,13 @@ ClassLoaderData::~ClassLoaderData() {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns true if this class loader data is for the extension class loader.
|
||||
*/
|
||||
bool ClassLoaderData::is_ext_class_loader_data() const {
|
||||
return SystemDictionary::is_ext_class_loader(class_loader());
|
||||
}
|
||||
|
||||
Metaspace* ClassLoaderData::metaspace_non_null() {
|
||||
assert(!DumpSharedSpaces, "wrong metaspace!");
|
||||
// If the metaspace has not been allocated, create a new one. Might want
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue