8221698: Remove redundant includes from popular header files

Removed histogram.hpp classLoader.hpp utf8.hpp moduleEntry.hpp packageEntry.hpp

Reviewed-by: coleenp, stuefe
This commit is contained in:
Ioi Lam 2019-03-30 08:26:20 -07:00
parent 61485b75a9
commit 22484b8c35
27 changed files with 46 additions and 29 deletions

View file

@ -2438,6 +2438,23 @@ bool InstanceKlass::check_sharing_error_state() {
return (old_state != is_in_error_state());
}
void InstanceKlass::set_class_loader_type(s2 loader_type) {
switch (loader_type) {
case ClassLoader::BOOT_LOADER:
_misc_flags |= _misc_is_shared_boot_class;
break;
case ClassLoader::PLATFORM_LOADER:
_misc_flags |= _misc_is_shared_platform_class;
break;
case ClassLoader::APP_LOADER:
_misc_flags |= _misc_is_shared_app_class;
break;
default:
ShouldNotReachHere();
break;
}
}
#if INCLUDE_JVMTI
static void clear_all_breakpoints(Method* m) {
m->clear_all_breakpoints();