会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
xiaoxi666
Master programmers think of systems as stories to be told rather than programs to be written.
博客园
首页
新随笔
联系
订阅
管理
2022年10月4日
InetAddress.getLocalHost() 执行很慢?
摘要: 背景介绍 某次在 SpringBoot 2.2.0 项目的一个配置类中引入了这么一行代码: InetAddress.getLocalHost().getHostAddress() 导致项目启动明显变慢。同时报出了相关的警告信息: 2022-10-03 23:32:01.806 [TID: N/A]
阅读全文
posted @ 2022-10-04 23:09 xiaoxi666
阅读(3970)
评论(1)
推荐(2)
公告
TOP