mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
7017732: move static fields into Class to prepare for perm gen removal
Reviewed-by: kvn, coleenp, twisti, stefank
This commit is contained in:
parent
f5ef48f3b9
commit
6e8a263a06
66 changed files with 1031 additions and 461 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2011, 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
|
||||
|
@ -577,6 +577,7 @@ class Klass : public Klass_vtbl {
|
|||
public:
|
||||
// type testing operations
|
||||
virtual bool oop_is_instance_slow() const { return false; }
|
||||
virtual bool oop_is_instanceMirror() const { return false; }
|
||||
virtual bool oop_is_instanceRef() const { return false; }
|
||||
virtual bool oop_is_array() const { return false; }
|
||||
virtual bool oop_is_objArray_slow() const { return false; }
|
||||
|
@ -811,4 +812,8 @@ class Klass : public Klass_vtbl {
|
|||
#endif
|
||||
};
|
||||
|
||||
|
||||
inline oop klassOopDesc::java_mirror() const { return klass_part()->java_mirror(); }
|
||||
|
||||
|
||||
#endif // SHARE_VM_OOPS_KLASS_HPP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue