hotspot/src/share/vm/gc/parallel/psMarkSweep.cpp
changeset 46505 fd4bc78630b1
parent 42650 1f304d0c888b
child 46619 a3919f5e8d2b
equal deleted inserted replaced
46504:38048d4d20e7 46505:fd4bc78630b1
     1 /*
     1 /*
     2  * Copyright (c) 2001, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2001, 2017, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
   538 
   538 
   539   {
   539   {
   540     GCTraceTime(Debug, gc, phases) t("Class Unloading", _gc_timer);
   540     GCTraceTime(Debug, gc, phases) t("Class Unloading", _gc_timer);
   541 
   541 
   542     // Unload classes and purge the SystemDictionary.
   542     // Unload classes and purge the SystemDictionary.
   543     bool purged_class = SystemDictionary::do_unloading(is_alive_closure());
   543     bool purged_class = SystemDictionary::do_unloading(is_alive_closure(), _gc_timer);
   544 
   544 
   545     // Unload nmethods.
   545     // Unload nmethods.
   546     CodeCache::do_unloading(is_alive_closure(), purged_class);
   546     CodeCache::do_unloading(is_alive_closure(), purged_class);
   547 
   547 
   548     // Prune dead klasses from subklass/sibling/implementor lists.
   548     // Prune dead klasses from subklass/sibling/implementor lists.