GC详解

  • 2019 年 10 月 8 日
  • 笔记

package com.shi.gc;    /**   * 查看默认GC:	-XX:+PrintCommandLineFlags -version   *  结果:  -XX:InitialHeapSize=127115712  -XX:MaxHeapSize=2033851392  -XX:+PrintCommandLineFlags  -XX:+UseCompressedClassPointers  -XX:+UseCompressedOops  -XX:-UseLargePagesIndividualAllocation  -XX:+UseParallelGC  java version "1.8.0_121"  Java(TM) SE Runtime Environment (build 1.8.0_121-b13)  Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)   * @author shiye   *   */  public class TestGC {    	public static void main(String[] args) {    	}    }