| 注册
首页|期刊导航|高技术通讯|基于紧耦合内存复制加速器的Java垃圾收集优化方法

基于紧耦合内存复制加速器的Java垃圾收集优化方法

王雪 李文青 张福新 王剑 敖琪

高技术通讯2025,Vol.35Issue(7):687-697,11.
高技术通讯2025,Vol.35Issue(7):687-697,11.DOI:10.3772/j.issn.1002-0470.2025.07.002

基于紧耦合内存复制加速器的Java垃圾收集优化方法

An optimization method for Java garbage collection based on tightly coupled memory copy accelerator

王雪 1李文青 1张福新 1王剑 1敖琪2

作者信息

  • 1. 处理器芯片全国重点实验室(中国科学院计算技术研究所) 北京 100190||中国科学院大学 北京 100049
  • 2. 龙芯中科技术有限公司 北京 100190
  • 折叠

摘要

Abstract

Garbage collection(GC)is a crucial component of the Java virtual machine(JVM).It ensures memory safety while enhancing the efficiency of application development.However,garbage collection often leads to reduced ap-plication throughput or prolonged pauses.A common challenge affecting the effectiveness of mainstream garbage collectors is the significant overhead associated with object movement.This paper proposes an optimization method for Java garbage collection.The method employs a tightly coupled memory copy accelerator to expedite the time-consuming object movement during garbage collection.It achieves fine-grained parallel execution of object copy and traversal tasks,fully capitalizing on the performance benefits of offloading object copy tasks to the accelerator.Ex-perimental results demonstrate that this method effectively improves garbage collection efficiency and reduces appli-cation pause times.Compared with the default G1 GC,the garbage collection throughput of this method for the Da-Capo and SPECjvm2008 benchmark suites is increased by an average of 8.59%and 8.81%,respectively,with a maximum improvement of up to 74.69%.Additionally,its pause time is decreased by an average of 5.08%and 5.96%respectively,with a maximum reduction of 40.44%.

关键词

垃圾收集/对象移动/紧耦合内存复制加速器/细粒度并行/Java虚拟机

Key words

garbage collection/object movement/tightly coupled memory copy accelerator/fine-grained paral-lelism/Java virtual machine

引用本文复制引用

王雪,李文青,张福新,王剑,敖琪..基于紧耦合内存复制加速器的Java垃圾收集优化方法[J].高技术通讯,2025,35(7):687-697,11.

基金项目

国家重点研发计划(2022YFB3105103)资助项目. (2022YFB3105103)

高技术通讯

OA北大核心

1002-0470

访问量0
|
下载量0
段落导航相关论文