This logic should be called each and every time a class is loaded or unloaded. When a new class is loaded, existing classes may have unresolved linkages to them that need to be filled in to point to the new class. Likewise, when a class is unloaded, the remaining classes need to have the linkages removed. In this manner, the class linkage status will stay current.
Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
Licensed under the Apache License, Version 2.0 ("the License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and limitations under the License.
Definition in file linkage.c.
#include "arch.h"
#include "jvmcfg.h"
#include "cfmacros.h"
#include "classfile.h"
#include "attribute.h"
#include "exit.h"
#include "field.h"
#include "gc.h"
#include "jvm.h"
#include "jvmclass.h"
#include "linkage.h"
#include "method.h"
#include "native.h"
#include "util.h"
Go to the source code of this file.
Functions | |
static void | linkage_c_dummy (void) |
rboolean | linkage_resolve_class (jvm_class_index clsidx, rboolean find_registerNatives) |
Resolve class table and object table linkages for a class file, typically one just loaded by class_static_new(). | |
rboolean | linkage_unresolve_class (jvm_class_index clsidx) |
Unresolve class table and object table linkages for a class file that is getting ready to be unloaded. | |
Variables | |
static char * | linkage_c_copyright = "\0" "$URL: https://svn.apache.org/path/name/linkage.c $ $Id: linkage.c 0 09/28/2005 dlydick $" " " "Copyright 2005 The Apache Software Foundation or its licensors, as applicable." |
|
|
|
|
Unresolve class table and object table linkages for a class file that is getting ready to be unloaded.
< Ref first constant item < Ref first constant item
< Invalid basetype due to malformed < Convenient alias for DML5 < Class linkages completed |
|
|