计算机科学 > 程序设计语言
[提交于 2013年6月11日]
标题:Let's Annotate to Let Our Code Run in Parallel
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:This paper presents an approach that exploits Java annotations to provide meta information needed to automatically transform plain Java programs into parallel code that can be run on multicore workstation. Programmers just need to decorate the methods that will eventually be executed in parallel with standard Java annotations. Annotations are automatically processed at launch-time and parallel byte code is derived. Once in execution the program automatically retrieves the information about the executing platform and evaluates the information specified inside the annotations to transform the byte-code into a semantically equivalent multithreaded version, depending on the target architecture features. The results returned by the annotated methods, when invoked, are futures with a wait-by-necessity semantics.
提交历史
来自:Patrizio Dazzi[v1] 2013年6月11日 星期二 00:00:00 UTC