Profiling: What does 'scanblock' do?

812 views
Skip to first unread message

Ondekoza

unread,
Aug 30, 2012, 1:03:27 PM8/30/12
to golan...@googlegroups.com
I read the article on profiling and checked some of the posts on the mailing list.

I observe the 'scanblock' function quite frequently. What does it do?

What measures could be taken to improve it's performance?

Yours
Stefan


Rémy Oudompheng

unread,
Aug 30, 2012, 1:10:34 PM8/30/12
to Ondekoza, golan...@googlegroups.com
scanblock is part of the garbage collection mechanism. It is natural
that part of it is shown on the profile. If it becomes very large you
can improve the situation by allocating less memory (the heap
profiling can show you what parts of your code alocate a lot).

Rémy.
Reply all
Reply to author
Forward
0 new messages