I found that in all the cases we need className when we report raw and private buffers and never need nodeName.
Created attachment 183444 [details] Patch
Comment on attachment 183444 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=183444&action=review > Source/WTF/wtf/MemoryInstrumentation.h:261 > + MemoryClassInfo info(memoryObjectInfo, object, 0, sizeof(T)); How is it related to this change? > Source/WTF/wtf/MemoryInstrumentationHashCountedSet.h:45 > + info.addPrivateBuffer(sizeof(typename HashMapType::ValueType) * hashSet->capacity(), "ValueType[]", "data"); It seems that we can derive actual name for ValueType automatically the same way as you do for other classes in https://bugs.webkit.org/show_bug.cgi?id=107262. > Source/WTF/wtf/MemoryInstrumentationParsedURL.h:43 > + info.addMember(urlString->string(), "string"); This seems unrelated. You can do this as part of https://bugs.webkit.org/show_bug.cgi?id=107262 or similar bug.
Created attachment 183499 [details] Patch
Committed r141539: <http://trac.webkit.org/changeset/141539>