116 // to allow mutator activity. If this chunk is the first in the |
116 // to allow mutator activity. If this chunk is the first in the |
117 // list and is not the last in the list, do the work to copy the |
117 // list and is not the last in the list, do the work to copy the |
118 // TreeList from the first chunk to the next chunk and update all |
118 // TreeList from the first chunk to the next chunk and update all |
119 // the TreeList pointers in the chunks in the list. |
119 // the TreeList pointers in the chunks in the list. |
120 if (nextTC == NULL) { |
120 if (nextTC == NULL) { |
121 assert(prevFC == NULL, "Not last chunk in the list") |
121 assert(prevFC == NULL, "Not last chunk in the list"); |
122 set_tail(NULL); |
122 set_tail(NULL); |
123 set_head(NULL); |
123 set_head(NULL); |
124 } else { |
124 } else { |
125 // copy embedded list. |
125 // copy embedded list. |
126 nextTC->set_embedded_list(tc->embedded_list()); |
126 nextTC->set_embedded_list(tc->embedded_list()); |