Thread safe summary ~ Java ~

It is a user-based SIer. The other day, I suspected that personal information was shared between users in the system I was maintaining, and I summarized the sites I referred to when investigating whether it was thread safe.

What is thread safe?

No problem occurs even if multiple threads execute processing in parallel. For example, when Mr. A and Mr. B execute processing at the same time, if both can access the shared data, a problem will occur, so it is necessary to control so that only one of them can access it.

reference

-About Java ThreadLocal and Threadsafe https://qiita.com/yoshi-naoyuki/items/507c5c3ea6027033f4bb ・ Don't forget to make it thread safe http://tech.nikkeibp.co.jp/it/article/COLUMN/20070820/279950/

Recommended Posts

Thread safe summary ~ Java ~
Java thread safe for you
thread safe process in java language
What is thread safe (with Java)
Java local variables are thread safe
Java Generics Summary
Java related summary
Java 8 documentation summary
Java 11 document summary
Java 12 new feature summary
[Java] Thread and Runnable
[Summary] Java environment preparation
effective java 3rd summary
Java 13 new feature summary
Java static [Personal summary]
Java Primitive Specialization Summary
Java development link summary
Personal summary about Java
Java 10 new feature summary
java regular expression summary
Java 14 new feature summary
Summary of Java support 2018
Java design pattern summary
Java reserved word summary
Java8 Stream Rough Summary
Java Programming Thread Runnable
DateFormat is not thread safe
[Java] New Thread generation method (2)
[Java11] Stream Summary -Advantages of Stream-
Progate Java (Beginner) Review & Summary
[Java] Summary of regular expressions
[Java] Summary of operators (operator)
Java8 stream, lambda expression summary
Object-oriented summary by beginners (Java)
Summary of Java language basics
Java tips --Spring execution Summary
[Java] Summary of for statements
Summary of Java Math class
Java thread to understand loosely
[Java11] Stream Usage Summary -Basics-
[Java] Summary of control syntax
Summary of java error processing
[Java] Summary of design patterns
[Java] New Thread generation method (1)
[Java] Summary of mathematical operations
Consideration on Java Persistence Framework 2017 (Summary) -1
[For beginners] Summary of java constructor
Java release date and EOL summary
Summary of [Java silver study] package
Summary
AtCoder 400 points algorithm summary (Java edition)
Java
Notes on Android (java) thread processing
Java "pass by reference" problem summary
Java EE 8 (Jakarta EE 8) New feature summary
Java
Summary of object-oriented programming using Java
[Java Silver] Summary of access modifier points
[java] Summary of how to handle char
Summary of changes other than JEP of Java10
[Java] Personal summary of conditional statements (basic)