JDK 24 发布了

180 天前
 Ayanokouji
Features

404: Generational Shenandoah (Experimental)
450: Compact Object Headers (Experimental)
472: Prepare to Restrict the Use of JNI
475: Late Barrier Expansion for G1
478: Key Derivation Function API (Preview)
479: Remove the Windows 32-bit x86 Port
483: Ahead-of-Time Class Loading & Linking
484: Class-File API
485: Stream Gatherers
486: Permanently Disable the Security Manager
487: Scoped Values (Fourth Preview)
488: Primitive Types in Patterns, instanceof, and switch (Second Preview)
489: Vector API (Ninth Incubator)
490: ZGC: Remove the Non-Generational Mode
491: Synchronize Virtual Threads without Pinning
492: Flexible Constructor Bodies (Third Preview)
493: Linking Run-Time Images without JMODs
494: Module Import Declarations (Second Preview)
495: Simple Source Files and Instance Main Methods (Fourth Preview)
496: Quantum-Resistant Module-Lattice-Based Key Encapsulation Mechanism
497: Quantum-Resistant Module-Lattice-Based Digital Signature Algorithm
498: Warn upon Use of Memory-Access Methods in sun.misc.Unsafe
499: Structured Concurrency (Fourth Preview)
501: Deprecate the 32-bit x86 Port for Removal


https://openjdk.org/projects/jdk/24/

https://medium.com/graalvm/welcome-graalvm-for-jdk-24-7c829fe98ea1


此版本是非 lts 版本,今年 9 月份的 jdk 25 是 lts 版本


本帖不欢迎刷 jdk8 梗,都是 10 多年前的技术了,2014 年 3 月 18 日发布。
12386 次点击
所在节点    Java
106 条回复
Meld
180 天前
我还在用 21 ,性能很强,话说老讨论 java8 干啥,看多了也腻了
Meld
180 天前
@lujiaxing

你甚至不愿意读到正文的最后一行
TheWalkingDead
180 天前
招 java 的越来越少的
yh7gdiaYW
180 天前
@daye 8 的真实比例比这个统计高的多得多,这个统计的是使用他们家线上监控的 Java 应用,可以预见的是国内不可能有少项目在用他们的服务,国内又恰恰是 8 的重灾区
zong400
180 天前
zgc 稳定了吗?比 g1 好?
duhb
180 天前
@lujiaxing 老发这些有意思吗,挺没劲的?准备固步自封何时呢~
Ayanokouji
180 天前
@LowBi 但凡用个 docker ,也不至于根据服务器版本走
Akitora
180 天前
491: Synchronize Virtual Threads without Pinning

好哇
Yukineko
180 天前
491: Synchronize Virtual Threads without Pinning

我在 jdk21 上用虚拟线程,已经被这个坑了好几次了
cubecube
180 天前
@zong400 生产在用,没啥大问题。唯一的缺点是不能用压缩指针
Meld
180 天前
@NoKey

问题大家在这讨论分享的是新 JDK 特性,大家都不是小白,谁不知道古早老项目一般不会动,但是在这种帖子反复强调 Java8 有啥意义,好比新能源车主聚会,大家讨论新平台,新的充电标准,冲进来了燃油车主说,你们聊归聊,我还是要开燃油车,我上班只能开燃油,话没错,说话的场景错了啊,朋友。
lujiaxing
180 天前
@Meld 然而电车就是不行啊...
zhouhu
180 天前
等 Java 25
Meld
180 天前
@lujiaxing #52

您随意
superchijinpeng
180 天前
现在大部分都是 17 了,不过 all in kt ,无所谓
shen13176101
180 天前
用 8 就用 8 呗,不想升级背锅就不背锅呗,有些人非要来这里说一嘴显得自己高级么?
shen13176101
180 天前
@shen13176101 #56 之前公司也用 8 ,但是新项目直接用了 17.
carytseng
180 天前
@lujiaxing #1 哈哈哈,现状的确如此
bjfane
180 天前
个人项目或者公司内部平台已经用了 21 了。感觉良好,配合 springboot3.4.x
roundgis
180 天前
@shen13176101 應該是用 java8 的人沒啥決策權。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/1119493

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX