首页 | 官方网站   微博 | 高级检索  
相似文献
 共查询到15条相似文献,搜索用时 161 毫秒
1.
随着计算机的不断发展,逐渐呈现出了普适计算的模式.普遍认为,Java是适应普适计算的关键技术.分析了解释运行中利用线索化方法进行性能优化的技术,实现了基于直接线索化方法的嵌入式Java虚拟机的解释器性能优化方案,并对嵌入式Java虚拟机的参考实现和基于直接线索化的优化方案进行了性能对比.  相似文献   

2.
面向普适计算终端的Java虚拟机性能优化技术研究   总被引:1,自引:0,他引:1  
分析了解释运行中利用线索化方法进行性能优化的技术,实现了以直接线索化方法为基础的Java虚拟机的解释器性能优化方案,并对嵌入式Java虚拟机的参考实现和Java的优化实现进行了性能对比。  相似文献   

3.
分析了Java字节码的解释执行和基于解释执行的Direct Threaded Interpreter性能优化技术.以Direct Threaded Interpreter为基础,提出并实现了一种针对ARM7平台的嵌入式Java虚拟机解释器性能优化方案.对嵌入式Java虚拟机的参考实现、Direct Threaded Interpreter优化方案和新优化方案在ARM7平台上的性能比较表明,所提出的方案优于前两者.  相似文献   

4.
嵌入式Java虚拟机优化研究   总被引:1,自引:0,他引:1  
为了改进手机中Java小程序的运行效率,基于KVM提出一种嵌入式Java虚拟机优化方案.在此方案中对解释器进行了改造,引入编译技术,并对KVM运行时内存的分配与回收方式作了改进.最后对比分析了在基准测试中KVM与优化方案的性能结果.  相似文献   

5.
本文针对移动通信设备的硬件特点,分析了编译优化技术应用于嵌入式Java虚拟机上所面临的困难,提出了一套基于解释执行的嵌入式Java虚拟机性能优化方案,能够有效地提高Java虚拟机的性能。  相似文献   

6.
目前,Linux网络计算机中的Java虚拟机在运行Java应用程序时,存在着执行性能较低的问题。该文实现一种优化方案:在Kaffe虚拟机中应用并改良直接线索式解释器优化技术。旨在兼顾Linux NC现有的硬件配置和软件模式,有效地提升Java虚拟机运行效率,并保证较低的CPU和内存成本。从而改善虚拟机的性能表现。  相似文献   

7.
本文针对移动通信设备的硬件特点,分析了编译优化技术应用于嵌入式Jwa虚拟机上所面临的困难,提出了一套基于解释执行的嵌入式Java虚拟机性能优化方案,能够有效地提高Java虚拟机的性能.  相似文献   

8.
马嘉  刘兵 《福建电脑》2006,(1):71-72
本文分析了即时编译(JIT)、预编译(Pre-compilation)及直接线索化的解释器(Direct Threaded Inter-preter)等性能优化技术,并利用JBenchmark1.0、JBenchmark2.0和AMark对分别采用这3种优化技术的嵌入式Java虚拟机进行了性能测试,根据测试结果对3种优化技术进行了系统的比较分析。  相似文献   

9.
石学锋  陈智  李政道 《计算机工程》2007,33(17):273-274
为了增强MHP机顶盒的网络交互能力,必须构建Java运行环境。该文介绍了Java技术、MHP机顶盒软件结构模型、嵌入式Java虚拟机(JVM)概念以及开源Java虚拟机——Kaffe的软件层次结构,阐述了Kaffe在ALI公司数字电视机顶盒开发平台上移植的实现过程,提出了在嵌入式环境下,Java虚拟机执行引擎的性能优化策略。实际运行结果证明了JVM的移植性和性能优化策略的可行性。  相似文献   

10.
刘辉  陈家骏 《微计算机信息》2006,22(17):134-136
首先分析了Sun公司的嵌入式Java虚拟机KVM性能低效的原因,在此基础上引入两种Java虚拟机性能加速技术:JIT和Native线程。通过建立MVM模型,将这两种加速技术融合到了Java虚拟机中,并详细介绍了实现这两种加速技术的关键数据结构和算法。实验结果表明Java虚拟机的性能获得明显的提高。  相似文献   

11.
杨丽洁 《计算机应用》2006,26(5):1152-1154
摘 要:鉴于目前Linux NC中Java虚拟机运行Java程序存在的性能问题,本文提出一种优化方案,以直接线索式解释器为基础优化技术,并设计3项扩展优化点突出优化效果。旨在兼顾Linux NC现有的硬件和软件条件,有效的提升Java虚拟机运行效率,同时保证了较低的CPU和内存成本。  相似文献   

12.
卡内应用执行效率较低是制约Java Card发展的瓶颈。为此,研究Java Card虚拟机(JCVM)解释器的运行原理,针对其执行架构提出一种基于反馈的JCVM指令预调度方案。通过收集反馈应用的运行指令流统计信息,设计解释器加权控制流图(WCFG),利用基于WCFG的代码编排技术实现解释器的指令预调度。在目标体系架构中,将热点指令处理函数的布局按照反馈应用的统计信息进行重新编排。实验结果表明,该方案可使JCVM解释器的应用执行效率提高15.29%,并且不依赖额外系统资源,对基于解释器架构且资源受限的嵌入式设备性能优化具有指导意义。  相似文献   

13.
Philipp Adler  Wolfram Amme 《Software》2014,44(10):1223-1249
Most constrained systems use interpreters to run mobile programs written in Java. Such interpreters are designed to minimize resource usage and often do not allow mobile code in the devices to be changed. For this reason, runtime optimization is typically not supported, even though it is completely feasible. In this paper, we propose optimistic optimization as a concept for improving application performance in restricted interpreter environments. In an optimistic optimization, a mobile program is restructured speculatively during code generation. This requires that it is possible to undo such optimizations, at runtime, if an incorrect use is detected or the set of available classes has changed when compared with compile time. Experimental results show that interpreted applications using optimistic optimizations tend to run faster when compared with their conventionally optimized counterparts. Compared with standard load elimination, reductions in runtimes of up to 9% for optimistic load elimination and up to 23% for the combined optimization were achieved. Whereas an average performance improvement of 1.87% for optimistic load elimination and 3.7% for the combined optimization could be realized. Copyright © 2013 John Wiley & Sons, Ltd.  相似文献   

14.
In several Java VMs, strings consist of two separate objects: metadata such as the string length are stored in the actual string object, while the string characters are stored in a character array. This separation causes an unnecessary overhead. Each string method must access both objects, which leads to a bad cache behavior and reduces the execution speed.We propose to merge the character array with the string’s metadata object at run time. This results in a new layout of strings with better cache performance, fewer field accesses, and less memory overhead. We implemented this optimization for Sun Microsystems’ Java HotSpot™ VM, so that the optimization is performed automatically at run time and requires no actions on the part of the programmer. The original class String is transformed into the optimized version and the bytecodes of all methods that allocate string objects are rewritten. All these transformations are performed by the Java HotSpot™ VM when a class is loaded. Therefore, the time overhead of the transformations is negligible.Benchmarks show an improved performance as well as a reduction of the memory usage. The performance of the SPECjbb2005 benchmark increases by 8%, and the average used memory after a full garbage collection is reduced by 19%. The peak performance of SPECjvm98 is improved by 8% on average, with a maximum speedup of 62%.  相似文献   

15.
Java supports the monitor construct for language‐level synchronization in the context of multi‐threading. This paper introduces the lightweight monitor, an efficient user‐level monitor implementation. The lightweight monitor is useful for single‐threaded Java programs as well as for multi‐threaded Java programs with little lock contention. A 32‐bit lock is embedded in each object for efficient lock access while other monitor data structures are managed using a hash table. We highly optimized the lock manipulation code, which is translated and inlined by a just‐in‐time (JIT) compiler. In the most probable cases, only nine SPARC instructions are spent for lock acquisition and five instructions are spent for lock release. Our experimental results indicate that the lightweight monitor is faster than the monitor implementation in the SUN JDK 1.2 RC1 by up to 21 times in the absence of lock contention and by up to seven times in the presence of lock contention. Copyright © 2004 John Wiley & Sons, Ltd.  相似文献   

设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号