嵌入式Java虚拟机中高精度定时器的实现  被引量:1

An Implementation of High Precise Timer in KVM

在线阅读下载全文

作  者:敖翔[1] 饶若楠[1] 傅城[1] 

机构地区:[1]上海交通大学信息安全工程学院,上海200030

出  处:《计算机工程与应用》2006年第3期93-96,115,共5页Computer Engineering and Applications

基  金:上海市科学技术委员会(编号:04dz15012)

摘  要:定时器是J2ME中实现多任务调度执行的程序框架,由Timer和TimerTask组成,它维护着一个任务队列,管理一个后台线程,任务的调度由后台线程完成。文章简要介绍了定时器,分析其实现机制,探讨了影响其精确度的因素。通过利用虚拟机本地方法调用、事件处理等技术,改进了定时器的计时机制,同时提高了其精确度,并在基于Linux的KVM中实现。As an application framework of J2ME,Timer realizes multi-task scheduling,which is carried out by a background thread.It is consisted by a Timer class and a TimerTask class.The paper introduces the concept of Timer, analyses its implementation mechanism,and discusses the factors influencing its accuracy.Then through changing its timing mechanism,the accuracy will be improved and the new Timer is realized in KVM which is based on Linux kernel platform.

关 键 词:嵌入式系统 JAVA虚拟机 定时器 J2ME 程序框架 

分 类 号:TP302.7[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象