mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 18:14:38 +02:00
8001471: Klass::cast() does nothing
Remove function Klass::cast() and calls to it. Reviewed-by: dholmes, coleenp
This commit is contained in:
parent
a988fc0968
commit
4aad9b74e7
54 changed files with 343 additions and 351 deletions
|
@ -431,7 +431,7 @@ void VM_PopulateDumpSharedSpace::doit() {
|
|||
}
|
||||
|
||||
static void link_shared_classes(Klass* obj, TRAPS) {
|
||||
Klass* k = Klass::cast(obj);
|
||||
Klass* k = obj;
|
||||
if (k->oop_is_instance()) {
|
||||
InstanceKlass* ik = (InstanceKlass*) k;
|
||||
// Link the class to cause the bytecodes to be rewritten and the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue