The interview has been asked for the JVM to have their own understanding,
My understanding is too shallow, I think is a class file save by class loaders to runtime data area, and then there is a heap, stack, stack method... Respectively for the... , when the JVM startup, carries on the explanation,
I know that I know is too shallow, I am trying to fill the knowledge, but need to interview recently,
So to come to consult everybody bosses at the time of the interview will be how to express their view of the JVM
Manual fuels, emergency
CodePudding user response:
Don't sink!
Is there a big pass by
CodePudding user response:
His two times before
CodePudding user response:
Should first is the division of the JVM (heap, stack, local stack method, method of area (named after 1.8 yuan space), the program counter), and then each area to do a detailed introduction, such as: the heap is divided into the young generation, old age, the young generation is divided into inside Eden and Survivor, object storage area change what of,
Say again what GC, where each piece of each of the GC collection algorithms, as well as the characteristics,
You can go to see the JVM specific books
CodePudding user response:
reference 3/f, whoops response: should first is the division of the JVM (heap, stack, local stack method, method of area (named after 1.8 yuan space), the program counter), and then each area to do a detailed introduction, such as: the heap is divided into the young generation, old age, the young generation is divided into inside Eden and Survivor, object storage area change what of, Say again what GC, where each piece of each of the GC collection algorithms, as well as the characteristics, You can go to see the JVM specific books About the class loader that need specifically to the operation process, call what, achieved CodePudding user response:
Taboo the tongue cuts the throat of the interview, do point to the check is good, don't gild the lily, Not you are familiar with, there's no need to say so much, unless the other party to ask you, Asked if the person is general, your answer is overview is good, the other party asked about details, you continue to expand, Often want to show anything, the result is what all may not be good, CodePudding user response:
reference 5 floor qybao reply: taboo the tongue cuts the throat of the interview, it is good to do point to namely stop, don't gild the lily, Not you are familiar with, there's no need to say so much, unless the other party to ask you, Asked if the person is general, your answer is overview is good, the other party asked about details, you continue to expand, Often want to show anything, the result may not be good, everything See, roughly speaking, first have their own understanding of the local initiative to places they would further, such as other interviewers ask CodePudding user response:
1. Oneself learn with hexadecimal text open class file, and then according to the official JVM document to unscramble hexadecimal, many people started learning compiled class files directly, or do not learn, see the JVM structure directly, it's not easy to understand 2. They will be read after class hex, began to go to the class loading again, take a look at how the Java implementation loading process, and then their interpretation class hexadecimal contrast, so step by step, will understand the truth, if the class hexadecimal read familiar, also can write a simple virtual machine 3. He would write, the interview also was afraid of what?? CodePudding user response:
o k and reference 7 floor response: 1. Oneself learn with hexadecimal text open class file, and then according to the official JVM document to unscramble hexadecimal, many people started learning compiled class files directly, or do not learn, see the JVM structure directly, it's not easy to understand 2. They will be read after class hex, began to go to the class loading again, take a look at how the Java implementation loading process, and then their interpretation class hexadecimal contrast, so step by step, will understand the truth, if the class hexadecimal read familiar, also can write a simple virtual machine 3. He would write, the interview also was afraid of what?? Later have time to try to write a, don't have time to get the main nearly time CodePudding user response:
That's simply is the JVM tuning experience, how to control the GC policy balance throughput and GC pauses. Plus, CodePudding user response:
references 9 f aaaak_ response: that's simply is the JVM tuning experience, how to control the GC policy balance throughput and GC pauses. Pluses, Thanks for sharing the summary, bosses CodePudding user response:
You interview the company feel very cow force, then the JVM, such as no way we can change, don't embarrass yourself if positioning only products research and development, research and development products basically is to use existing tools to realize product demand, if you are a technical research and development, when I didn't say that! Individual human without C language foundation, said he understands the JVM have much deep, is bullshit CodePudding user response:
11 references, wild pandas person reply: you interview the company feel very cow force, then the JVM, such as no way we can change, don't embarrass yourself if positioning only products research and development, research and development products basically is to use existing tools to realize product demand, if you are a technical research and development, when I didn't say that! Individual human without C language foundation, said he understands the JVM have much deep, is bullshit After all, will be tuning the JVM is truly a pluses and the interview, do I understand is not deep enough, I am in a GC, adjust the memory allocation, and working principle of the said it will arrived here CodePudding user response:
JVM implementation low latency with the CMS + PorNew will do the trickSpecific how should set allocates memory for low latency tuning Is there a big maze