期刊文献+

一种新的并行Java程序的监护模型

New guardian model for concurrent Java programs
下载PDF
导出
摘要 提出了一种新的并行Java程序异常处理的监护模型。该模型针对并行Java程序异步信息传递方式进行异常处理。当并行Java程序的某个线程出现异常时,该线程的监护模块把检测到的异常情况的信息传递到其它线程的监护模块,每个线程根据当前事项与异常事项的向量时钟关系,对当前事项进行回滚或停止操作,以达到对并行Java程序的保护。过去一些并行程序的监护方案是在信息交换的基础上把并行程序结构化为许多原子行为,把多个并行异常当作单个异常进行处理,具有较大的局限性。提出的监护模型是从全局上对并行Java程序的异常情况进行处理,并指导每个线程根据自身情况作出相应反映。实验证明提出的新的并行Java程序监护模型具有较强的实际操作性,并能有效地保护并行Java程序。 This paper presents a new guardian model for exception handling in concurrent programs.The model handles exception in asynchronous processes of concurrent Java programs.When exception occurs in concurrent programs,the guardian module has checked the exception and transfer the exception information to all the threads.Based on the exception status and vector clocks, the threads force the events at present rolling back or stopping running to protect concurrent Java programs.Several guardian models have been proposed in the past.These models are based on structuring concurrent programs as atomic actions based on conversations or transactions and resolving multiple concurrent exceptions into a sing]e one.So they have great limitation,The guardian model that we proposed is a global exception handier and every, thread can do something according to the status in it. The case study proves the new guardian model for concurrent Java programs is easier used in practice and can efficiently protect concurrent Java programs.
出处 《计算机工程与应用》 CSCD 北大核心 2007年第35期108-110,165,共4页 Computer Engineering and Applications
基金 湖北省自然科学基金( the Natural Science Foundation of Hubei Province of China under Grant No.2005ABA255)
关键词 并行Java程序 异常 监护模型 容错能力 concurrent Java program exception guardian model fauh tolerance
  • 相关文献

参考文献14

  • 1Lomet D B.Process synchronization,communication,and recovery using atomic actions[J].SIGPLAN Notices, 1977, 12(3) : 128-137.
  • 2Campbell R H,Randell B.Error recovery in asynchronous systems[J].IEEE Trans Software Eng, 1986,12(8) : 811-826.
  • 3Goodenough J B.Exception handling:issues and a proposed notation[J].Comm ACM, 1975,18(12) :653-696.
  • 4Romanovsky A,Xu J,Randell B.Exception handling and resolution in ddistributed object-oriented systems[C]//Proc 16th IEEE Int'l Conf Distributed Computing Systems, 1996:545-552.
  • 5Randell B,Lee P A,Treleaven P C.Reliability issues in computing system design[J].ACM Computing Surveys, 1978,10(2 ) : 123-165.
  • 6Sen K,Rosu G,Agha G.Online efficient predictive safety analysis of multithreaded programs[J].International Journal on Software Technology and Tools Transfer,2006.
  • 7Cohen N H.Ada as a second language [M].2nd ed.USA:McGraw-Hill, 1996.
  • 8Cristian F.Exception handling and software fault toleranee[J].IEEE Trans Computers, 1982,31 ( 6 ) :531-540.
  • 9Cristian F,Fetzer C.The timed asynchronous distributed system model[J].IEEE Trans Parallel and Distributed Systems,1999, 10: 642-657.
  • 10Gray J.Notes on database operating systems[J].Operating Systems: An Advanced Course, 1978 : 393-481.

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部