hotspot/src/share/vm/gc/g1/g1StringDedupQueue.cpp
changeset 39690 09a3ee292336
parent 35492 c8c0273e6b91
child 40655 9f644073d3a0
equal deleted inserted replaced
39689:7181aecf48d5 39690:09a3ee292336
     1 /*
     1 /*
     2  * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2014, 2016, 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.
   152     }
   152     }
   153   }
   153   }
   154 }
   154 }
   155 
   155 
   156 void G1StringDedupQueue::print_statistics() {
   156 void G1StringDedupQueue::print_statistics() {
   157   log_debug(gc, stringdedup)("   [Queue]");
   157   log_debug(gc, stringdedup)("  Queue");
   158   log_debug(gc, stringdedup)("      [Dropped: " UINTX_FORMAT "]", _queue->_dropped);
   158   log_debug(gc, stringdedup)("    Dropped: " UINTX_FORMAT, _queue->_dropped);
   159 }
   159 }
   160 
   160 
   161 void G1StringDedupQueue::verify() {
   161 void G1StringDedupQueue::verify() {
   162   for (size_t i = 0; i < _queue->_nqueues; i++) {
   162   for (size_t i = 0; i < _queue->_nqueues; i++) {
   163     StackIterator<oop, mtGC> iter(_queue->_queues[i]);
   163     StackIterator<oop, mtGC> iter(_queue->_queues[i]);