JEP 401 giới thiệu value objects như tính năng preview trong JDK 28, cho phép các đối tượng immutable so sánh bằng giá trị field thay vì reference. Ba mươi lớp API như Integer, Long, và LocalDate sẽ trở thành value class khi bật preview, giúp JVM tối ưu hóa memory bằng flattening và scalarization thay vì heap allocation. Tính năng này cải thiện memory footprint, locality và garbage collection efficiency với chỉ một vài lớp API được chuyển đổi. Developers có thể tạo value class riêng với value modifier nhưng cần tuân thủ quy tắc immutability và serialization đồng thời cảnh báo với synchronization và weak references.
AI summaries can be wrong. Read the original before relying on anything important.
Why read it: JEP 401 giúp tối ưu hiệu suất bộ nhớ hiệu quả bằng cách giới thiệu đối tượng giá trị immutable cho Java.
Answer 3 short questions to earn reward points for this article. Only do it if you want the points.
3 questions · under a minute · optional
Source: https://inside.java/2026/09/20/jep401-target-jdk28. 8 Sync News only summarizes and links out; content copyright belongs to the authors and original sources.
Read the news here, practice coding, follow structured courses and train for IELTS on our sibling products — all connected through one 8 Sync account.
The ecosystem home: product overviews, blog and full pricing.
ExploreLearn along a clear roadmap: videos, auto-graded quizzes, certificates and mentors who ship for a living.
View the roadmap1,000 DSA problems in Vietnamese, auto-graded across 7 languages — many FREE, right in your browser.
Practice for freeAI grading for all four IELTS skills with detailed rubric feedback.
Try it freeA 22 MB AI IDE for Vietnamese devs.
Download freeOrganizational memory for AI agents.
ExploreAI that staffs your Fanpage and qualifies leads for you.
Try itThe Netflix engineering team has developed an autonomous performance agent system. In this article, we’ll be learning more about it.
Java Swing testing for real installed apps, with plain-language steps instead of component names.
How to loop through and iterate a List<T> in C# with foreach, for, ForEach, Index(), and spans, plus break, continue, safe removal, and benchmarks.
Spring's @RequestPart cannot stream multipart uploads — not even FilePart. The API that actually does, and the tests that prove it.
JRuby 10.0.8.0 is out, targeting Ruby 3.4 compatibility. The release resolves 54 issues and PRs, including dozens of bug fixes and performance improvements from new contributors. Changes include support for JDK 27, an update of the standard library to Ruby 3.4.12, a fix for Mutex#synchronize exiting with the lock still held after Thread#raise or Timeout, and a reduction of the default max JIT size to 500. Several fixes also address issues around class loading, frozen arrays and string deduplication.
ClickHouse vừa giới thiệu native TCP client cho .NET giúp tăng tốc độ đọc và insert dữ liệu với số lần phân bổ bộ nhớ ít hơn. API cột (columnar APIs) và hỗ trợ POCO giúp xử lý dữ liệu hiệu quả hơn so với HTTP truyền thống. Client mới này giảm đáng kể chi phí CPU và bộ nhớ nhờ loại bỏ các lớp trung gian không cần thiết. Nếu bạn đang làm việc với ClickHouse trên .NET, việc chuyển sang native TCP client sẽ mang lại hiệu suất vượt trội, đặc biệt với các operation đọc/ghi hàng loạt.
Client TCP native của ClickHouse cho .NET mang lại hiệu suất vượt trội với API cột và hỗ trợ POCO giúp tối ưu hóa hiệu năng ứng dụng của bạn.
Omarchy 4.0.5, bản phân phối Arch Linux dựa trên Hyprland, tăng tốc khởi trình trình duyệt web bằng cách thay thế lời gọi xdg-settings chậm bằng công cụ tùy chỉnh. Việc sử dụng omarchy-cmd-default-browser giúp xác định trình duyệt mặc định trong khoảng 10ms, nhanh hơn đáng kể so với 72ms của xdg-settings do chuỗi script POSIX shell phức tạp. Công cụ này ưu tiên kiểm tra cấu hình Hyprland trước, sau đó mới fallback đến xdg-settings và xdg-mime khi chưa được thiết lập. Tối ưu hóa riêng này cũng giúp giảm thời gian khởi động thanh trạng thái của Omarchy từ khoảng 20 giây xuống còn 15 giây trên hệ thống 6 màn hình với nhiều widget.
Omarchy giúp khởi trình trình duyệt web nhanh hơn đáng kể nhờ loại bỏ lớp xdg-settings chậm và thay bằng công cụ trợ giúp tùy chỉnh.
Booking.com đã tiết giảm chi phí compute cho Node.js tới 38% khi chuyển từ pm2 sang Watt. Công nghệ Watt giúp giảm số lượng pod cần thiết, cắt giảm 20% lượng memory sử dụng, đồng thời giảm được latency. Điều đáng chú ý là tất cả các thay đổi này được thực hiện mà không cần thay đổi bất kỳ dòng service code nào. Giải pháp Watt hoạt động bằng cách tối ưu hóa hiệu suất runtime của Node.js một cách thông minh.
Bài viết cho thấy cách giảm chi phí Node.js hiệu quả mà không cần thay đổi code dịch vụ.
Loading comments…