摘要
Java虚拟机(JVM)虽自带内存回收机制,但随着业务量增大和高并发运行,资源的不合理分配及自身编码缺陷仍可导致内存溢出、延迟及吞吐量下降等性能问题出现。上述问题的性能调优是一个系统而复杂的过程,不但需要熟练掌握JVM内存模型,很大程度上仍需依赖经验。以JVM内存模型为基础,归纳了一套性能调优流程和方法,以辅助软件测试、开发及运维人员发现和修复JVM性能问题,确保Java应用程序的连续和稳定运行。
Although the Java virtual machine(JVM)has its own memory recovery mechanism,the improper allocation of resources and its own coding defects can still lead to the memory overflow,the latency and the throughput degradation as the business will grow and run concurrently.The performance tuning for the above issues is a systematic and complex process,and it requires familiarity with the memory model in JVM,and also relies heavily on experience.Based on the memory model in JVM,a set of performance tuning processes and methods are summarized to assist the software test,development,and operations personnel in identifying and fixing JVM performance issues,thus it can ensure the continuous and stable operation of Java program.
作者
高远
王建强
GAO Yuan;WANG Jianqiang(The 28th Research Institute of China Electronics Technology Group Corporation,Nanjing 210007,China)
出处
《指挥信息系统与技术》
2020年第6期96-100,共5页
Command Information System and Technology
关键词
JAVA虚拟机
内存模型
性能调优
Java virtual machine(JVM)
memory model
performance tuning