JVM指令集CPU周期&字节大小 [英] JVM instruction set CPU cycles & byte size

查看:92
本文介绍了JVM指令集CPU周期&字节大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Java虚拟机指令集页提供了有关助记符的信息,例如aaload ,aastore ...等.
但是,既没有提及这些助记符将占用的cpu周期,也没有有关这些助记符的字节大小或字大小的任何信息.
知道在哪里可以找到这些信息吗?

The Java Virtual Machine Instruction Set page provides information about mnemonics such as aaload, aastore... etc.
However neither the cpu cycles that these mnemonics would take up is mentioned nor is there any info on the byte size or word size of these mnemonics.
Any idea where this information could be found?

推荐答案

规范是JVM需要实现的内容,而不是实现方式.供应商(例如IBM和Sun)使用的平台和JVM不同,它们将使用不同的实现,因此您无法假设字节大小和处理器周期如何.如果您真的想找到更多信息,可以下载Open JDK源代码并仔细查看,但这只是一个实现,不能假设其他实现具有完全相同的性能特征.

The spec is what a JVM needs to implement not how it does so. Different platforms and different JVM's from venders such as IBM and Sun will use different implementations so you can’t assume anything about byte size and processor cycles. If you really want to find more info you can download the Open JDK source and look through it but this is only one implementation and you can’t assume other implementations will have the exact same performance characteristics.

这篇关于JVM指令集CPU周期&字节大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆