【24h】

Parametric Polymorphism in Java: an Approach to Translation Based on Reflective Features

机译:Java中的参数多态性:一种基于反射性特征的翻译方法

获取原文
获取原文并翻译 | 示例
获取外文期刊封面目录资料

摘要

The introduction of parametric polymorphism in Java with translation approaches has been shown to be of considerable interest, allowing the definition of extensions of Java on top of the existing Virtual Machines. Homogeneous translations furthermore, seem to be more useful than hetero-geneous, avoiding the continuous increase of library code with redundant information. At this time however, homogeneous approaches aren't as flexible as heterogeneous, with extensions failing to integrate well with base language typing. In this paper, using some of the features of the Core Reflection of Java, we introduce a homogeneous translation in which run-time information about instantiation of type-parameters is carried, allowing full integration of parameterized types with Java typing. Performance overhead is greatly decreased using a brand new translation technique based on the deferring of the management of type information at load-time. The same power and flexibility of previous heterogeneous approaches is obtained while maintaining homogeneous translation advantages.
机译:使用转换方法在Java中引入参数多态性已引起人们的极大兴趣,它允许在现有虚拟机之上定义Java扩展。而且,同质翻译比异质翻译更有用,避免了带有冗余信息的库代码的不断增加。但是,目前,同类方法还不如异构方法灵活,扩展无法与基本语言类型很好地集成。在本文中,我们使用Java核心反射的某些功能,介绍了一种均质转换,其中包含有关类型参数实例化的运行时信息,从而允许将参数化类型与Java类型完全集成在一起。使用全新的翻译技术可以大大降低性能开销,该技术基于延迟加载时类型信息的管理。在保持同质翻译优势的同时,可以获得与以前的异构方法相同的功能和灵活性。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号