V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Ayanokouji
V2EX  ›  Java

JDK 24 发布了

  •  2
     
  •   Ayanokouji · 2 天前 · 8647 次点击
    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 日发布。
    105 条回复    2025-03-21 14:49:08 +08:00
    1  2  
    tiiis
        101
    tiiis  
       1 天前
    iceberg 不支持 Java8 了
    afeiche
        102
    afeiche  
       1 天前
    我们部门新搞了一个支撑全公司的系统,我作为外部的架构师给他们做系统评审时,建议他们升级到 17 ,然后被妥妥的拒绝,其实也能理解他们的想法,不过从长远看,现在 8 已经落后好几年了,这个系统还要存活 10 来年吧,想想后边接手的人就觉得太惨了,一堆的安全漏洞没法修复,安全的人天天找他们
    kokutou
        103
    kokutou  
       1 天前
    搞安全的同学努力啊 多挖点 java8 框架的漏洞
    lujiaxing
        104
    lujiaxing  
       1 天前
    @wzwmeme 我不仅 NT 发言, 我还能 XP 发言呢, 还能 9x 发言呢.

    虽然从技术角度上来说, 不应该如此保守, 应该多学多跟进新技术的浪潮. 但是事实上这些用 Java 8 的企业才是真正的稳定. 不随便裁员, 也不随便迭代技术. 虽然技术都是十多年前的, 但相应的, 人员也都是十多年的. 在这种地方上班就是图一个字: 稳. 反正都是上班, 稳定大于一切. 你 Java 17 18 24 有啥用呢? 技术迭代的频, 人员迭代的也频.
    sthwrong
        105
    sthwrong  
       16 小时 5 分钟前
    @sagaxu 你应该是对的,我回想起来我以前写池子池化的一般是资源连接而不是虚拟线程或者 goroutine 之类的。限制并发办法的确很多。
    1  2  
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1016 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 22:54 · PVG 06:54 · LAX 15:54 · JFK 18:54
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.