10 2023 档案

摘要:各版本获取启动参数命令: java -XX:+PrintFlagsFinal -version > jvm_flags.txt 所有参数: [Global flags] int ActiveProcessorCount = -1 {product} {default} uintx AdaptiveS 阅读全文
posted @ 2023-10-27 17:59 漠孤烟 阅读(120) 评论(0) 推荐(0) 编辑
摘要:命令 javap -v /com/pany/Hello.class 输出: D:\lab>javap -v LibEnvMap.class Classfile /D:/lab/LibEnvMap.class Last modified 2023年10月25日; size 1442 bytes SHA 阅读全文
posted @ 2023-10-25 17:47 漠孤烟 阅读(24) 评论(0) 推荐(0) 编辑
摘要:Java21新特性 https://docs.oracle.com/en/java/javase/21/core/#Java-Platform%2C-Standard-Edition 升级到Java21指南 https://docs.oracle.com/en/java/javase/21/migr 阅读全文
posted @ 2023-10-20 14:05 漠孤烟 阅读(496) 评论(0) 推荐(0) 编辑
摘要:Windows下GraalVM要把jar编译成二进程可执行文件,需要依赖MSVC环境。 Windows下想要MSVC环境但又不想安装笨重的Visual Studio的10几个G容量,可以用以下方法安装最小集,只需几百兆: 1、使用PortableBuildTools来下载MSVC最小集 https: 阅读全文
posted @ 2023-10-18 22:30 漠孤烟 阅读(381) 评论(0) 推荐(0) 编辑
摘要:1、命令 ps -aux|grep "spring-native-hello" 结果: chkusr 10611 0.0 0.0 1313132 53364 pts/1 Sl 19:56 0:00 ./spring-native-hello chkusr 13192 0.0 0.0 112812 9 阅读全文
posted @ 2023-10-18 20:06 漠孤烟 阅读(146) 评论(0) 推荐(0) 编辑
摘要:使用GraalVM对spring boot工程进行native编译: 系统:Centos JDK:GraalVM JDK 21 报错: If you are unable to resolve this problem, please file an issue with the error rep 阅读全文
posted @ 2023-10-18 19:53 漠孤烟 阅读(2093) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示