1. Introduction
2. Ask the item
I talked about a detail about the realization of the law of cosines and the assignment of weights
3. High concurrency
Take out the first trump card, the volatile keyword, talk about three major characteristics, lead to JMM, the realization principle of visibility, the atomic keyword, and I want to talk about the bottom layer of CAS, say another direction, MySQL
The second trump card, MySQL's underlying engine + transaction, from transaction to ACID, to transaction isolation mechanism, to isolation, to LCBB, MVCC, to row lock, to gap lock
4. Thread Pool
An interviewer asked me: What should I do if the frequency of thread creation is greater than the frequency of destruction?
I didn’t think about it at the time. I thought about the JVM stack overflow. In fact, it should be the thread pool. However, the interviewer may find this problem a bit difficult, so I didn’t talk about it.
5. Java
One of the interviewers looked at my blog and said: The records are quite complete and
asked a few questions about the blog.
The first one, formal parameters and actual parameters: This place is not very good, just an example of reference type and basic type change does not change the
second, the comparison of Integer and int, this is OK, go directly to the constant pool to see if it is in Between [-128,128], after thinking about it, it should be 127, embarrassing
6. Communication
Ask me how much salary I hope A: 7K
Future career plan: cliché, API caller, hope to become a senior architect
Business trip and overtime: I can accept appropriate overtime, but give me time to learn
7. Overall Evaluation
It’s okay, except for the thread pool that I didn’t answer, the other basics are answered.
But there is a high probability that you won't be able to go to Yantai. Want to go to Beijing