equal
deleted
inserted
replaced
50 _types = static_cast<ShenandoahRootVerifier::RootTypes>(static_cast<uint>(_types) & (~static_cast<uint>(types))); |
50 _types = static_cast<ShenandoahRootVerifier::RootTypes>(static_cast<uint>(_types) & (~static_cast<uint>(types))); |
51 } |
51 } |
52 |
52 |
53 bool ShenandoahRootVerifier::verify(RootTypes type) const { |
53 bool ShenandoahRootVerifier::verify(RootTypes type) const { |
54 return (_types & type) != 0; |
54 return (_types & type) != 0; |
|
55 } |
|
56 |
|
57 ShenandoahRootVerifier::RootTypes ShenandoahRootVerifier::combine(RootTypes t1, RootTypes t2) { |
|
58 return static_cast<ShenandoahRootVerifier::RootTypes>(static_cast<uint>(t1) | static_cast<uint>(t2)); |
55 } |
59 } |
56 |
60 |
57 void ShenandoahRootVerifier::oops_do(OopClosure* oops) { |
61 void ShenandoahRootVerifier::oops_do(OopClosure* oops) { |
58 CodeBlobToOopClosure blobs(oops, !CodeBlobToOopClosure::FixRelocations); |
62 CodeBlobToOopClosure blobs(oops, !CodeBlobToOopClosure::FixRelocations); |
59 if (verify(CodeRoots)) { |
63 if (verify(CodeRoots)) { |