mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 19:44:41 +02:00
6692899: CMS: many vm.parallel_class_loading tests fail with assert "missing Printezis mark"
The CMS concurrent precleaning and concurrent marking phases should work around classes that are undergoing redefinition. Reviewed-by: ysr, dcubed
This commit is contained in:
parent
3474623106
commit
c2ff9781c7
18 changed files with 161 additions and 19 deletions
|
@ -34,7 +34,7 @@ class constantPoolKlass : public Klass {
|
|||
|
||||
// Allocation
|
||||
DEFINE_ALLOCATE_PERMANENT(constantPoolKlass);
|
||||
constantPoolOop allocate(int length, TRAPS);
|
||||
constantPoolOop allocate(int length, bool is_conc_safe, TRAPS);
|
||||
static klassOop create_klass(TRAPS);
|
||||
|
||||
// Casting from klassOop
|
||||
|
@ -48,6 +48,8 @@ class constantPoolKlass : public Klass {
|
|||
int object_size() const { return align_object_size(header_size()); }
|
||||
|
||||
// Garbage collection
|
||||
// Returns true is the object is safe for GC concurrent processing.
|
||||
virtual bool oop_is_conc_safe(oop obj) const;
|
||||
void oop_follow_contents(oop obj);
|
||||
int oop_adjust_pointers(oop obj);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue