CHeapObj currently requires a template to specify which flags an object should be allocated with. This makes sense for most objects, but not utilities like GrowableArray our outputStream.
Instead these classes must, unnecessarily, be ResourceObjs.
Suggest a third way of doing things, without the cost of ResourceObjs (24 bytes of allocated space for each instance, for example).
Instead these classes must, unnecessarily, be ResourceObjs.
Suggest a third way of doing things, without the cost of ResourceObjs (24 bytes of allocated space for each instance, for example).
- relates to
-
JDK-8295013 OopStorage should derive from CHeapObjBase
- Resolved
-
JDK-8295014 Remove unnecessary explicit casts to void* in CHeapObjBase
- Resolved