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

2.
嵌入式Java虚拟机的性能优化技术   总被引:7,自引:1,他引:7  
李允  罗蕾  雷昊峰  熊光泽 《计算机工程》2004,30(18):46-48,58
分析了线索化和直接线索化等基于解释运行的性能优化技术,实现了基于直接线索化技术的嵌入式Java虚拟机的解释器性能优化方案,并对嵌入式Java虚拟机的参考实现、线索化优化方案和基于直接线索化的优化方案进行了性能对比。  相似文献   

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

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

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

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

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

8.
当前对于嵌入式系统尚没有一个明确的定义,主要原因就是由于硬件性能的提升以及价格的下降,使得嵌入式系统与通用计算机之间的界限变得很模糊。因此,若是从技术的进步上讲,对嵌入式是很难定义的。一般情况下,对于嵌入式系统所执行的特定任务,使得嵌入式设备在功能具有很大的唯一性。在这里,本文主要针对一种嵌入式Java虚拟机的性能优化技术设计与实现进行了简单分析。  相似文献   

9.
以广泛使用的Java虚拟机实现—HotSpot JVM为研究对象,探讨了Java虚拟机解释执行的一般原理和内在机制.目的在于揭示Java程序在虚拟机上的执行过程,激发广大计算机研究人员和从业者对底层技术的研究兴趣,从而更好地掌握计算机技术和使用计算机工具.  相似文献   

10.
朱明凯  高振华  柴志雷 《计算机应用》2010,30(11):2873-2875
Java技术正越来越受到图像处理研究人员的关注,希望以此提升开发效率,增强可移植性。但软件方式的Java虚拟机运行速度慢、实时性差,无法满足图像处理复杂计算对性能的需求。为此,提出一种以硬件方式直接执行字节码的Java处理器结构,并实现了其模拟器及预处理器构成完整测试平台。从实验结果可看出:该平台的执行效率是虚拟机方式的860倍,表明将Java处理器用于嵌入式图像处理将是一种可行选择。  相似文献   

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

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

13.
研究了JDK6 HotSpot虚拟机,主要分析了JDK6 HotSpot虚拟机的结构和运行机制。针对龙芯平台上的应用,研究了将JDK6 HotSpot虚拟机移植到龙芯处理器平台系统上的关键技术,给出了相应的移植方案。通过初步的移植,使得龙芯平台通过移植后的JDK6 HotSpot虚拟机能在console端支持Java运行环境。最后,分析了移植后的HotSpot虚拟机的性能瓶颈,并给出了优化的方法。  相似文献   

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.
The Java language is popular because of its platform independence, making it useful in a lot of technologies ranging from embedded devices to high‐performance systems. The platform‐independent property of Java, which is visible at the Java bytecode level, is only made possible thanks to the availability of a Virtual Machine (VM), which needs to be designed specifically for each underlying hardware platform. More specifically, the same Java bytecode should run properly on a 32‐bit or a 64‐bit VM. In this paper, we compare the behavioral characteristics of 32‐bit and 64‐bit VMs using a large set of Java benchmarks. This is done using the Jikes Research VM as well as the IBM JDK 1.4.0 production VM on a PowerPC‐based IBM machine. By running the PowerPC machine in both 32‐bit and 64‐bit mode we are able to compare 32‐bit and 64‐bit VMs. We conclude that the space an object takes in the heap in 64‐bit mode is 39.3% larger on average than in 32‐bit mode. We identify three reasons for this: (i) the larger pointer size, (ii) the increased header and (iii) the increased alignment. The minimally required heap size is 51.1% larger on average in 64‐bit than in 32‐bit mode. From our experimental setup using hardware performance monitors, we observe that 64‐bit computing typically results in a significantly larger number of data cache misses at all levels of the memory hierarchy. In addition, we observe that when a sufficiently large heap is available, the IBM JDK 1.4.0 VM is 1.7% slower on average in 64‐bit mode than in 32‐bit mode. Copyright © 2005 John Wiley & Sons, Ltd.  相似文献   

16.
对基于Java卡(嵌入了Java卡虚拟机的智能卡)技术的移动平台的安全机制及其实现方法作了分析,给出了ARM9平台与智能卡硬件的互联方法和软件通信机制,重点阐述了利用Java技术在嵌入式平台上使用智能卡进行数字证书申请、签名及验证操作的逻辑和实现方法。  相似文献   

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

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

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