mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 10:34:38 +02:00
8000692: Remove old KERNEL code
Removed depreciated kernel VM source code from hotspot VM Reviewed-by: dholmes, acorn
This commit is contained in:
parent
19303cc71d
commit
fc0efc91c8
33 changed files with 40 additions and 430 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2003, 2013, 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
|
||||
|
@ -74,10 +74,8 @@ JvmtiEnvBase::globally_initialize() {
|
|||
|
||||
JvmtiManageCapabilities::initialize();
|
||||
|
||||
#ifndef JVMTI_KERNEL
|
||||
// register extension functions and events
|
||||
JvmtiExtensions::register_extensions();
|
||||
#endif // !JVMTI_KERNEL
|
||||
|
||||
#ifdef JVMTI_TRACE
|
||||
JvmtiTrace::initialize();
|
||||
|
@ -236,14 +234,12 @@ JvmtiEnvBase::env_dispose() {
|
|||
// Same situation as with events (see above)
|
||||
set_native_method_prefixes(0, NULL);
|
||||
|
||||
#ifndef JVMTI_KERNEL
|
||||
JvmtiTagMap* tag_map_to_deallocate = _tag_map;
|
||||
set_tag_map(NULL);
|
||||
// A tag map can be big, deallocate it now
|
||||
if (tag_map_to_deallocate != NULL) {
|
||||
delete tag_map_to_deallocate;
|
||||
}
|
||||
#endif // !JVMTI_KERNEL
|
||||
|
||||
_needs_clean_up = true;
|
||||
}
|
||||
|
@ -255,14 +251,12 @@ JvmtiEnvBase::~JvmtiEnvBase() {
|
|||
// There is a small window of time during which the tag map of a
|
||||
// disposed environment could have been reallocated.
|
||||
// Make sure it is gone.
|
||||
#ifndef JVMTI_KERNEL
|
||||
JvmtiTagMap* tag_map_to_deallocate = _tag_map;
|
||||
set_tag_map(NULL);
|
||||
// A tag map can be big, deallocate it now
|
||||
if (tag_map_to_deallocate != NULL) {
|
||||
delete tag_map_to_deallocate;
|
||||
}
|
||||
#endif // !JVMTI_KERNEL
|
||||
|
||||
_magic = BAD_MAGIC;
|
||||
}
|
||||
|
@ -593,8 +587,6 @@ JvmtiEnvBase::get_jni_class_non_null(Klass* k) {
|
|||
return (jclass)jni_reference(k->java_mirror());
|
||||
}
|
||||
|
||||
#ifndef JVMTI_KERNEL
|
||||
|
||||
//
|
||||
// Field Information
|
||||
//
|
||||
|
@ -1482,5 +1474,3 @@ JvmtiMonitorClosure::do_monitor(ObjectMonitor* mon) {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !JVMTI_KERNEL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue