Lines Matching refs:handles
28 #include "runtime/handles.inline.hpp"
131 // Debug code to trace the number of handles allocated per mark/
134 size_t handles = 0;
137 handles = area->_hwm - _hwm; // no new chunk allocated
139 handles = _max - _hwm; // add rest in first chunk
141 handles += c->length();
144 handles -= area->_max - area->_hwm; // adjust for last trunk not full
146 handles /= sizeof(void *); // Adjust for size of a handle
147 if (handles > HandleAllocationLimit) {
149 warning("%d: Allocated in HandleMark : %d", _nof_handlemarks, handles);