Re[6]: [Gc] Minor autoconf problem (FYI)

Ivan Maidanski ivmai at mail.ru
Sat Apr 6 00:00:47 PST 2013


 Hi Manuel,

Fri,  5 Apr 2013, 7:47 +02:00 from Manuel.Serrano at inria.fr:
>Hi Ivan,
>
>> Yes, e.g. Nexus 7 has 4 cores, so 3 additional threads are started for
>> garbage collection. You could compile with -DGC_ANDROID_LOG to instruct
>> GC to redirect output to Android log and compare figures reported in
>> "World-stopped marking took..." with and without -DPARALLEL_MARK.
>Good. 
>
>Thanks for your time and your explanations. One additional question: what about
>compiling the GC with -DPARALLEL_MARK but running it on a single processor?
>Does this degrades the performance (on Android, you don't know in advance what
>will be the hardware specifications of the machine the apk will be installed)?
All PARALLEL_MARK-specific code is executed only if GC_parallel, the letter is set to false if only single core available.
BTW. On some devices (e.g., Galaxy S3), if the screen is off then only 1 core is active but GC is still executed in 4 threads (as 4 cores physically present). This should be improved. 

Regards,
Ivan

>
>
>Thanks again.
>
>-- 
>Manuel
>
>_______________________________________________
>Gc mailing list
>Gc at linux.hpl.hp.com
>http://www.hpl.hp.com/hosted/linux/mail-archives/gc/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://napali.hpl.hp.com/pipermail/gc/attachments/20130406/1137bdd8/attachment.htm


More information about the Gc mailing list