Skip to content

Instantly share code, notes, and snippets.

Atsushi Nakagawa atnak

Block or report user

Report or block atnak

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@atnak
atnak / SomeProgram.java
Created Sep 7, 2016
Do removals from a java.util.concurrent.ConcurrentMap provide a happens-before guarantee against a retrieval that sees this occurrence?
View SomeProgram.java
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
import com.google.common.util.concurrent.Uninterruptibles;
public class SomeProgram {
public static void main(String[] args) {
new SomeOperator(1).start();
new SomeOperator(1).start();
You can’t perform that action at this time.