paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Skyway

Skyway:直接连接 JVM 托管堆以消除序列化
ASPLOS Proceedings of the Twenty-Third International Conference on Architectural Support for Programming Languages and Operating Systems2018匹配度 1/10 · 该论文属于 JVM 运行时与分布式内存管理,核心是跨进程/跨机托管堆直连与消除序列化,与用户关注的方向(LLM/Agent 与静态分析、形式化验证、浮点程序分析、贝叶斯程序分析)没有直接交集。引用 38 inbox
Khanh Nguyen, Lu Fang, Christian Navasca, Guoqing Xu, Brian Demsky, Shan Lu
crossref: 2026-09-12

AI 速览

一句话:Skyway 直接连接不同 JVM 进程的托管堆,无需序列化/反序列化即可跨机传输对象。

在 Java、Scala 等托管语言构建的大规模分布式系统中,跨机数据传输需要将大量对象序列化为字节序列再反序列化。这一过程既性能低效(反射开销大),又费人力(手写序列化函数易错)。本文提出 Skyway,一种基于 JVM 的技术,可直接连接本地或远程 JVM 进程的托管堆,使源堆中的对象无需改变格式即可直接写入远程堆。Skyway 完全消除了序列化/反序列化函数的调用,从而节省 CPU 时间,并免去开发者手写序列化函数的需求,为任何基于 JVM 的系统带来性能收益。

问题
托管语言(如 Java、Scala)在分布式系统中跨机传输对象时,序列化/反序列化依赖昂贵的反射或易错的手写函数,导致性能低且开发负担重。
方法
Skyway 是一种基于 JVM 的技术,可直接连接不同(本地或远程)JVM 进程的托管堆,让源堆中的对象不经格式转换直接写入远程堆。
评估
通过完全消除序列化/反序列化函数调用,Skyway 节省了 CPU 时间并免去手写序列化函数,为 JVM 系统带来性能收益(摘要未给出具体量化指标)。
原文摘要(Abstract)

Managed languages such as Java and Scala are prevalently used in development of large-scale distributed systems. Under the managed runtime, when performing data transfer across machines, a task frequently conducted in a Big Data system, the system needs to serialize a sea of objects into a byte sequence before sending them over the network. The remote node receiving the bytes then deserializes them back into objects. This process is both performance-inefficient and labor-intensive: (1) object serialization/deserialization makes heavy use of reflection, an expensive runtime operation and/or (2) serialization/deserialization functions need to be hand-written and are error-prone. This paper presents Skyway, a JVM-based technique that can directly connect managed heaps of different (local or remote) JVM processes. Under Skyway, objects in the source heap can be directly written into a remote heap without changing their formats. Skyway provides performance benefits to any JVM-based system by completely eliminating the need (1) of invoking serialization/deserialization functions, thus saving CPU time, and (2) of requiring developers to hand-write serialization functions.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot4252,
  title = {Skyway},
  author = {Khanh Nguyen and Lu Fang and Christian Navasca and Guoqing Xu and Brian Demsky and Shan Lu},
  booktitle = {ASPLOS},
  year = {2018},
  doi = {10.1145/3173162.3173200}
}