Giant multi-threaded Java Detailed face questions

1 manufacturers face questions

  • Please describe the underlying principles underlying synchrnoized and reentrantlock realization and re-entry - Baidu Ali
  • Please describe the lock of the four states and the upgrade process - Baidu Ali
    beating and hanging lock escalation Detailed Java interviewer -Java
  • How to solve the problem of CAS ABA - Baidu
  • Please talk about AQS, AQS is why the underlying CAS + volatile- Baidu
  • Please talk about your understanding of volatile - the US group Ali
  • How volatile visibility and prohibit instruction reordering is achieved - the US group
  • CAS is what - the United States Mission
  • Describe the process of creating a target of the US Mission SF
  • Objects in memory memory layout - US Mission SF
  • DCL singleton why should we increase volatile- US group
    beating and hanging interviewer -Java Java Singleton pattern to achieve double-checked locking DCL Why must add volatile
  • Explain lock four states - SF
  • Object o = new Object () accounts for the number of bytes in memory -? SF
  • Please describe the similarities and differences of synchronized and ReentrantLock - SF
  • Talk to you as-if-serial and happens - understanding before Meaning - Jingdong
  • ? You know ThreadLocal do you know Threadl ocal how to solve memory leaks do -? Jingdong Ali
  • Describe the classification and JDK application locks - Ali
  • Q: spin locks must be higher than the efficiency of heavyweight lock it - Ali?
  • Open biased locking whether efficiency will enhance? Why?

2 Why ask these manufacturers like less than what?

  • Pian he could, which was his own cattle
  • See attitude you treat technology
  • You see the potential in the technical direction
  • Competition sieve out
Published 423 original articles · won praise 1097 · Views 550,000 +

Guess you like

Origin blog.csdn.net/qq_33589510/article/details/105319066