mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 10:04:42 +02:00
8278842: Parallel: Remove unused VerifyObjectStartArrayClosure::_old_gen
Reviewed-by: tschatzl
This commit is contained in:
parent
4851ad840a
commit
fcebe65ce9
1 changed files with 3 additions and 4 deletions
|
@ -400,12 +400,11 @@ void PSOldGen::verify() {
|
||||||
}
|
}
|
||||||
|
|
||||||
class VerifyObjectStartArrayClosure : public ObjectClosure {
|
class VerifyObjectStartArrayClosure : public ObjectClosure {
|
||||||
PSOldGen* _old_gen;
|
|
||||||
ObjectStartArray* _start_array;
|
ObjectStartArray* _start_array;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
VerifyObjectStartArrayClosure(PSOldGen* old_gen, ObjectStartArray* start_array) :
|
VerifyObjectStartArrayClosure(ObjectStartArray* start_array) :
|
||||||
_old_gen(old_gen), _start_array(start_array) { }
|
_start_array(start_array) { }
|
||||||
|
|
||||||
virtual void do_object(oop obj) {
|
virtual void do_object(oop obj) {
|
||||||
HeapWord* test_addr = cast_from_oop<HeapWord*>(obj) + 1;
|
HeapWord* test_addr = cast_from_oop<HeapWord*>(obj) + 1;
|
||||||
|
@ -415,7 +414,7 @@ class VerifyObjectStartArrayClosure : public ObjectClosure {
|
||||||
};
|
};
|
||||||
|
|
||||||
void PSOldGen::verify_object_start_array() {
|
void PSOldGen::verify_object_start_array() {
|
||||||
VerifyObjectStartArrayClosure check( this, &_start_array );
|
VerifyObjectStartArrayClosure check(&_start_array);
|
||||||
object_iterate(&check);
|
object_iterate(&check);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue