mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
6895236
: CMS: cmsOopClosures.inline.hpp:43 assert(..., "Should remember klasses in this context")
Adjust assertion checking for ExplicitGCInvokesConcurrentAndUnloadsClasses as a reason for class unloading Reviewed-by: ysr
This commit is contained in:
parent
d327b24c06
commit
b2ed547ec0
4 changed files with 37 additions and 28 deletions
|
@ -170,11 +170,13 @@ class ReferenceProcessor : public CHeapObj {
|
|||
// The caller is responsible for taking care of potential
|
||||
// interference with concurrent operations on these lists
|
||||
// (or predicates involved) by other threads. Currently
|
||||
// only used by the CMS collector.
|
||||
// only used by the CMS collector. should_unload_classes is
|
||||
// used to aid assertion checking when classes are collected.
|
||||
void preclean_discovered_references(BoolObjectClosure* is_alive,
|
||||
OopClosure* keep_alive,
|
||||
VoidClosure* complete_gc,
|
||||
YieldClosure* yield);
|
||||
YieldClosure* yield,
|
||||
bool should_unload_classes);
|
||||
|
||||
// Delete entries in the discovered lists that have
|
||||
// either a null referent or are not active. Such
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue