mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
6578152: fill_region_with_object has usability and safety issues
Reviewed-by: apetrusenko, ysr
This commit is contained in:
parent
26f6b1692a
commit
000b184507
25 changed files with 261 additions and 198 deletions
|
@ -92,6 +92,7 @@ class LatestMethodOopCache : public CommonMethodOopCache {
|
|||
|
||||
|
||||
class Universe: AllStatic {
|
||||
// Ugh. Universe is much too friendly.
|
||||
friend class MarkSweep;
|
||||
friend class oopDesc;
|
||||
friend class ClassLoader;
|
||||
|
@ -132,6 +133,7 @@ class Universe: AllStatic {
|
|||
static klassOop _constantPoolCacheKlassObj;
|
||||
static klassOop _compiledICHolderKlassObj;
|
||||
static klassOop _systemObjArrayKlassObj;
|
||||
static klassOop _fillerArrayKlassObj;
|
||||
|
||||
// Known objects in the VM
|
||||
|
||||
|
@ -264,6 +266,7 @@ class Universe: AllStatic {
|
|||
static klassOop constantPoolCacheKlassObj() { return _constantPoolCacheKlassObj; }
|
||||
static klassOop compiledICHolderKlassObj() { return _compiledICHolderKlassObj; }
|
||||
static klassOop systemObjArrayKlassObj() { return _systemObjArrayKlassObj; }
|
||||
static klassOop fillerArrayKlassObj() { return _fillerArrayKlassObj; }
|
||||
|
||||
// Known objects in tbe VM
|
||||
static oop int_mirror() { return check_mirror(_int_mirror);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue