src/hotspot/share/gc/g1/g1RemSetSummary.cpp
changeset 58084 cddef3bde924
parent 53747 13acc8e38a29
child 58508 d6058bd73982
equal deleted inserted replaced
58083:9046db64ca39 58084:cddef3bde924
   105   _sampling_thread_vtime(0.0f) {
   105   _sampling_thread_vtime(0.0f) {
   106   update();
   106   update();
   107 }
   107 }
   108 
   108 
   109 G1RemSetSummary::~G1RemSetSummary() {
   109 G1RemSetSummary::~G1RemSetSummary() {
   110   if (_rs_threads_vtimes) {
   110   FREE_C_HEAP_ARRAY(double, _rs_threads_vtimes);
   111     FREE_C_HEAP_ARRAY(double, _rs_threads_vtimes);
       
   112   }
       
   113 }
   111 }
   114 
   112 
   115 void G1RemSetSummary::set(G1RemSetSummary* other) {
   113 void G1RemSetSummary::set(G1RemSetSummary* other) {
   116   assert(other != NULL, "just checking");
   114   assert(other != NULL, "just checking");
   117   assert(_num_vtimes == other->_num_vtimes, "just checking");
   115   assert(_num_vtimes == other->_num_vtimes, "just checking");