StackOverflow Questions for Tag: atomicinteger

Boni
Boni

Reputation: 610

Performance Difference of AtomicInteger vs Integer

Score: 20

Views: 34148

Answers: 6

Read More
Geek_To_Learn
Geek_To_Learn

Reputation: 1956

How does AtomicInteger achieve thread-safety?

Score: 4

Views: 1885

Answers: 3

Read More
frostman
frostman

Reputation: 606

Why is AtomicInteger needed if writes and reads to int variables are atomic?

Score: 13

Views: 2378

Answers: 5

Read More
Onki
Onki

Reputation: 2095

How does "Compare And Set" in AtomicInteger works

Score: 35

Views: 30950

Answers: 3

Read More
Aakash
Aakash

Reputation: 1029

Difference between Atomic set() and getAndSet() methods in Java

Score: 4

Views: 2242

Answers: 2

Read More
Alexei
Alexei

Reputation: 15646

Incorect value of incremented value inside lambda and new Thread

Score: 0

Views: 50

Answers: 1

Read More
Mausumi
Mausumi

Reputation: 67

Shared counter concurrent incrementation using atomic integer

Score: 4

Views: 381

Answers: 2

Read More
Myphre
Myphre

Reputation: 13

Java Thread Atomic Integer checking not working?

Score: 0

Views: 79

Answers: 2

Read More
Andrzej Więcławski
Andrzej Więcławski

Reputation: 99

multi level filtering by index of customized list in java 11

Score: 0

Views: 41

Answers: 1

Read More
Neela
Neela

Reputation: 107

Java 8 variable should be final or effectively final issue

Score: 0

Views: 2870

Answers: 2

Read More
Amelia
Amelia

Reputation: 497

Why is this code not thread-safe even though an AtomicInteger is used to track progress?

Score: 1

Views: 60

Answers: 1

Read More
itspr
itspr

Reputation: 343

Can we achieve visibility and atomicity using Volatile and Synchronized together?

Score: 1

Views: 60

Answers: 2

Read More
nullPointerException
nullPointerException

Reputation: 49

Java Volatile variable still causing race condition

Score: 1

Views: 1361

Answers: 1

Read More
wannaBeDev
wannaBeDev

Reputation: 739

How to use AtomicInteger getAndSet correctly?

Score: 1

Views: 78

Answers: 1

Read More
Kyle Yuan
Kyle Yuan

Reputation: 25

ForkJoinFramework with AtomicLong is not giving consistent result

Score: 1

Views: 44

Answers: 1

Read More
Anne Maier
Anne Maier

Reputation: 319

AtomicInteger thread safety

Score: 4

Views: 769

Answers: 2

Read More
Joker
Joker

Reputation: 11146

compareandexchange() vs compareandset() of Atomic-Integer

Score: 9

Views: 4485

Answers: 1

Read More
akmsw
akmsw

Reputation: 123

AtomicInteger & lambda expressions in single-threaded app

Score: 0

Views: 1630

Answers: 3

Read More
Vivek Modi
Vivek Modi

Reputation: 7151

Compare and swap value in atomic integer kotlin

Score: 0

Views: 1560

Answers: 1

Read More
eztam
eztam

Reputation: 3829

Is each cycle of a for loop an atomic operation?

Score: 10

Views: 876

Answers: 2

Read More
PreviousPage 1Next