![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Jvm
joker_zhou
这个作者很懒,什么都没留下…
展开
-
使用JMC监控tomcat
1.复制jmx账号密码模板cp$JAVA_HOME/jre/lib/management/jmxremote.*tomcat/conf 这里复制到tomcat的conf下面 包含两个文件一个jmxremote.password和jmxremote.accesscd $TOMCAT_HOME/tomcat/confmv jmxremote.password.template jmxremote.passwordchmod +w jmxremote.password 添加写权限在 p...原创 2020-06-02 23:36:37 · 387 阅读 · 0 评论 -
Java虚拟机常用参数记录
1.-XX:+PrintGC 打印GC情况2.-XX:+PrintGCDetails 打印GC具体情况,3.-XX:+PrintGCHeapGc 打印GC前后的堆信息4.-XX:+PrintGCTimeStamps 打印GC发生时的时间,该时间是系统启动的偏移时间5.-XX:+PrintGCApplicationConcurrentTime 打印引用程序执行时间6.-XX:+PrintGCApplicationStoppedTime 打印GC停顿时间7.-XX:+PrintRefer原创 2020-06-02 11:12:49 · 157 阅读 · 0 评论 -
JDK编译
重温下Jdk源码。。先来看下如何编译JDK,我用的环节是centos 其实很简单 大同小异。。在openjdk官网:http://hg.openjdk.java.net/jdk8u下载的openjdk8u60版本cd到下载的目录然后执行bash ./configure --with-target-bits=64 --with-boot-jdk=机器上的JDK位置,也就是JAVA_HOME环境变量的内容--with-debug-level=slowdebug --enable-debug-sym.原创 2020-05-19 20:38:23 · 488 阅读 · 0 评论