On Jul 29, 7:15 pm, Kenton Varda <ken...@google.com> wrote: > I think that touched java_message.cc in the compiler -- grep for > "QuickQueue".
Thanks Kenton. > It's an entirely transparent change -- you do not have to > change your code at all to take advantage of it. Yes, I understand. I was just curious about the implementation and the motivation for the change. The answer for the first is that it uses a thread-local queue and you gave the answer for the second question. > I'm told it improved > performance on Dalvik (Android's JVM), which has a relatively weak garbage > collector. I doubt it helps any on the official JVM. Is there a way to disable this behaviour? As you say, it doesn't seem particularly useful for sophisticated JVMs and unless I am missing something, the queue is currently unbounded so it could end up retaining quite a bit of memory for some usage patterns. Best, Ismael --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to protobuf@googlegroups.com To unsubscribe from this group, send email to protobuf+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/protobuf?hl=en -~----------~----~----~----~------~----~------~--~---