Read about java application performance tuning interview questions, The latest news, videos, and discussion topics about java application performance tuning interview questions from alibabacloud.com
The main processes of tuning the JVM are:1. Determine heap memory size (-XMX,-XMS)2, the rational distribution of the new generation and old generation (-xx:newratio,-XMN,-xx:survivorratio)3. Determine the size of the permanent zone (-xx:permsize,-xx:maxpermsiize)4. Select the garbage collector5, the garbage collector to set reasonable6. Disable GC (-XX:+DISABLEEXPLICITGC)7. Disable class Metadata recycling (-XNOCLASSGC)8. Disable class validation (-x
garbage collection process are explained. The five articles will explain the principles of Java Program Performance tuning, especially the necessary knowledge in this process and the need to determine whether your program needs tuning. It also describes the problems you may encounter during
execution.Surround notification is one of the most common types of notifications. Most interception-based AOP frameworks, such as Nanning and JBOSS4, provide only surround notifications.The concept of pointcut (pointcut) and connection point matching is the key to AOP, which makes AOP different from other old technologies that simply provide interception functionality.The pointcut enables the location notification (advice) to be independent of the OO hierarchy. For example, a around notificatio
We are going to discuss with you today that we will correctly resolve the 12 difficult questions about DB2 performance tuning. If you are curious about the 12 difficult questions about DB2 performance tuning, the following article
Brief introductionWeb development often encounters performance issues, especially Web 2.0 applications. CSS code is the most direct "tool" to control the display style and effect of the page, but they are often overlooked by WEB development engineers when it comes to performance tuning, while the fact that nonstandard CSS can have a serious impact on the efficien
Brief introductionWeb development often encounters performance issues, especially Web 2.0 applications. CSS code is the most direct "tool" to control the display style and effect of the page, but they are often overlooked by WEB development engineers when it comes to performance tuning, while the fact that nonstandard CSS can have a serious impact on the efficien
Linked list is often in the interview, this article refers to some other articles, together with the small series of their own summary, the basic algorithm has been tested and optimized.Algorithm Daquan (1) There are also some list problems in the single linked list, which will be sorted out in the future.* REFS:* http://blog.csdn.net/fightforyourdream/article/details/16353519* http://blog.csdn.net/luckyxiaoqiang/article/details/7393134 easy to handle
Websphere? Application Server Performance Tuning Toolkit is an Eclipse-based smart tool designed to help users tune WebSphere application by using data collection, data analysis, and statistical inference techniques The performance of the Server. The goal is to help users fi
Multithreading and concurrency issues are among the questions that interviewers prefer to ask in a Java technology interview. Here, the most important questions are listed from the interview point of view, but you should still have a solid grasp of the basics of
value,-xmx four times times the value;3) Set-xms equal to-xmx 1/2 size;4) Set the-xms between 1/10 and 1/4-xmx;5) Use the default settings.You need to determine the most appropriate parameter settings for your own running program based on the specific usage scenario. In addition to the two most important parameters of-XMS and-xmx, there are a number of parameters that are likely to be used, which are often strongly dependent on garbage collection algorithms, and may vary depending on the versio
application, can control which thread notify, lock can bind multiple conditions.
With the fair lock function, each incoming thread will be queued.
Links: Synchronized keywords, Lock, and explain the difference between themStringBuffer is thread-safe, each time the string is manipulated, String generates a new object, and StringBuffer does not; StringBuilder is not thread-safeLinks: The difference between String, StringBuffer and StringBuilde
Want to keep your project running at high performance? Here are some tips you can take to eliminate cache bottlenecks, as well as some other performance tuning recommendations.Most developers think that performance optimization is a complex topic that requires a lot of work experience and relevant knowledge theory. Wel
limited.Heap area: Also known as dynamic memory allocation, usually refers to the program when it runs directly new memory, that is, an instance of the object. The Java garbage collector will be responsible for recycling this part if it is not in use.2. How to manage memory in Java 3. Memory leaks in JavaA memory leak refers to a useless object (an object that is no longer being used) that keeps m
One of the interview summaries: Java handles linked list questions during the interview and java handles themThe linked list is often used in interviews. This article has referenced some other articles and added my own summary. Basically, every algorithm has been tested and
Logical Thinking interview questions-java backend interview-,-java backend(-1) Preface
I recently participated in an interview and was very interested in the pen questions. I will retur
society (W3C). translating it into Chinese is "extensible markup language ". UML (Unified Modeling Language) is a modeling language and a main tool for requirement analysis and outline design. MVC (model, view, Controller) is the design mode of application development. M is the exponential data model; V is the user interface; C is the controller. Chapter 2 JSP/Servlet technology 16th in Java Development, J
Java interview questions, java questions1. Can a ". java" source file contain multiple classes (not internal classes )? What are the restrictions?A: Yes, but there can only be one public class. If there is a public class, the file name must be the same as the class name.2. D
Java interview questions, java questions1. simple principles and applications of the Exception Handling Mechanism in C ++ or Java.When a JAVA program violates the JAVA Semantic Rules, the JAVA
lightweight, persistent layer framework that is rich in functionality.3. Spring is used because spring is based on the framework of the IOC (control reversal) and the AOP framework multi-tier Java System 4. Pick a feature that you do. Application principle of SSH framework
1. In the presentation layer, first implement the interactive interface through the JSP page, responsible for the transfer requests (re
duplicated.
A map is a collection of key-value pairs and does not allow key duplication.
5, the PreparedStatement in JDBC compared to the benefits of statement
Relatively safe, can prevent SQL injection;
Have precompiled function, the same operation batch data efficiency is high
6. What are the collection classes you know? Main methods.
The most commonly used collection classes: List and Map.
The specific implementations of the list include ArrayList and vectors, which are variable size lists t
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.