检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]东北大学信息科学与工程学院,沈阳110004 [2]沈阳工业大学信息科学与工程学院,沈阳110870
出 处:《沈阳工业大学学报》2010年第3期321-325,共5页Journal of Shenyang University of Technology
基 金:教育部"春辉计划"科研合作项目(Z2005-2-11013)
摘 要:针对通用平台下Java虚拟机垃圾回收器(GC)的不定期启动问题,提出了一个周期性提升GC优先级、提前调度GC的解决方案.该方案把优先级按任务的重要程度分两个等级:关键线程和非关键线程,通过计算垃圾回收的时机即计算出垃圾回收的周期上限TGC,在任务运行最长不超过TGC的时间内提升GC的优先级为非关键线程的最大值,从而使GC在不影响关键线程的情况下能提前回收内存中的垃圾,使虚拟机的内存处于非饱和状态.理论分析和实验结果表明,该方法可以提高通用环境下Java关键线程的实时性及执行的可预测性.For the aperiodic start-up problem of garbage collector (GC) in Java virtual machine on the universal platform,a scheme for periodic priority upgrading and forward scheduling of GC was proposed. The priority was divided into two levels,the critical thread and non-critical thread,accordings to the importance degree of the task. The cycle upper limit TGC of garbage collection was calculated by computing the opportunity of garbage collection. The GC priority was upgraded to the maximum non-critical thread within the longest operation time not exceeding TGC. Thus,the garbage collector can collect garbage in the memory without affecting the critical thread and make the memory of virtual machine in the unsaturated state. The theoretical analysis and experimental results indicate that the proposed strategy can improve the real-time performance of Java critical thread and the predictability of execution in the universal environment.
关 键 词:JAVA虚拟机 垃圾回收器 优先级 实时 周期 线程 可预测性 内存管理
分 类 号:TP316.2[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.166