Issue 129: Memory consumption hyperoscillations
http://code.google.com/p/v8/issues/detail?id=129

Comment #15 by victor.grishchenko:
It looks like those FixedArrays are actually Dictionaries used by  
JSObjects. I tried to print out
any features of those objects and it resulted in coredumps only:
  791 void MarkCompactCollector::UpdateLiveObjectCount(HeapObject* obj) {
  ...
  820     if (obj->IsJSObject() && jsocnt++%1000==0) {
  821         JSObject* jso= JSObject::cast(obj);
  822         //Logger::ApiObjectAccess("FUCK",jso);
  823         printf("JSO\n");
  824         //jso->JSObjectPrint();
  825         //jso->PrintProperties();
  826         //jso->class_name()->PrintOn(stdout);
  827         jso->element_dictionary()->Print();

Judging by the number, those JSObjects must be some temporary objects which  
leaked on
some reason as the number of long-living objects is orders of magnitude  
lower.

Is there any way to profile it? How may I know class or origin of currently  
allocated objects (or
why aren't they collected) ?



-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to