Java 8??????????????????
???????????? ???????[ 2015/8/26 13:37:18 ] ???????????????? ???????????
????OpenJDK 8 ?ж??? GC??Garbage Collector???????? Parallel GC??CMS ?? G1????????????????????? Java 9 ?н? Java 8 ???? GC ?? Parallel GC ??? G1 ?????????飩??????????????????????л???????
??????????????
???????????????????Σ??????ò????VM??????-XX:+UseSerialGC?? -XX:+UseParallelGC?? -XX:+UseConcMarkSweepGC?? -XX:ParallelCMSThreads=2?? -XX:ParallelCMSThreads=4?? -XX:+UseG1GC????
??????????д?????55?????
????????VM??????-Xmx2048M -server
????OpenJDK?汾??1.8.0_51??????μ?汾??
?????????Linux version 4.0.4-301.fc22.x86_64
?????????Intel? Core? i7-4790 CPU @ 3.60GHz
???????????13???OptaPlanner??滮???????????????????5??????30??????JVM???????????????
????????滮?????漰 IO ???????????????????????????????????????? CPU ????????????????????????????????GC ?????????Щ????
??????????????????????????÷???????á????????????滮????????????????С????????漰????????????????????????????????????????
???????????????????????Щ??????????????????й???????????????? GeneralOptaPlannerBenchmarkApp??
?????????????
??????н??
??????????????????????? GC ?? Java 8 ??? GC??Parallel GC???????????
???????????????????Parallel GC???????
?????????????????
?????????????????
????Java 9 ??????? G1 ??
????????????????? OpenJDK9 ???????????? G1 ?????? GC??????????????????飺
????G1 ?????????17.60%
????G1 ????????????????????????
??????????????Machine Reassignment B10???£????????????????????G1 ????34.07%??
??????????????????????????ò??????? GC?????????????????????????
??????????棬??????????????????
????G1 ????? GC ?????????????????????????????Щ??????????????????GC ??????????????
????????????????????????????????????н???????????????????????????????????????
????G1 ??????????????? 6GB??????λ????????????? 2GB???????????????Machine Reassignment B10??????????????檔
??????????????? OpenJDK ????????е??????????????????????????????????????????棨????????????????????????????GC????????????????????????????????????
????????
?????? Java 8 ?У??? OptaPlanner ???????????? GC??Parallel GC???????????????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11