Automated rollback of commit
*** Reason for rollback ***
b/128604272
*** Original change description ***
Allow concurrent subscription events for BuildEventStreamer handling build events. We may observe many such events in parallel, and the class is designed to be thread-safe, so relax the artificial synchronization barrier.
@@ -26,7 +26,6 @@ import com.google.common.collect.ImmutableSet;
import com.google.common.collect.Iterables;
import com.google.common.collect.Multimap;
import com.google.common.collect.Sets;
-import com.google.common.eventbus.AllowConcurrentEvents;
import com.google.common.eventbus.Subscribe;
import com.google.common.util.concurrent.Futures;
import com.google.common.util.concurrent.ListenableFuture;
@@ -460,7 +459,6 @@ public class BuildEventStreamer implements EventHandler {
}
@Subscribe
- @AllowConcurrentEvents
public void buildEvent(BuildEvent event) {
if (finalEventsToCome != null) {
synchronized (this) {
