谷歌机翻

来源:互联网 发布:集成电路工程硕士 知乎 编辑:程序博客网 时间:2024/05/06 07:23

找了一篇讲java bytecode的东西,用google翻译试了一下:

原文

Understanding how Java code is compiled into byte code and executed on a Java Virtual Machine (JVM) is critical because it helps you understand what is happening as your program executes. This understanding not only ensures that language features make logical sense but also that it is possible to understand the trade offs and side effects when making certain discussions.
This article explains how Java code is compiled into byte code and executed on the JVM. To understand the internal architecture in the JVM and different memory areas used during byte code execution see my previous article on JVM Internals.
This article is split into three parts, with each part being subdivided into sections. It is possible to read each section in isolation however the concepts will generally build up so it is easiest to read the sections. Each section will cover different Java code structures and explain how these are compiled and executed as byte code, as follows:

谷歌机翻:

了解Java代码如何编译为字节代码并在Java虚拟机(JVM)上执行是至关重要的,因为它可以帮助您了解程序执行时发生了什么。 这种理解不仅确保语言特征具有逻辑意义,而且还可以在进行某些讨论时理解权衡和副作用。
本文解释了如何将Java代码编译为字节代码并在JVM上执行。 要了解JVM中的内部体系结构和字节码执行期间使用的不同内存区域,请参阅我上一篇关于JVM Internals的文章。
本文分为三个部分,每个部分细分为几个部分。 可以单独读取每个部分,但概念通常会构建,因此最容易阅读部分。 每个部分将涵盖不同的Java代码结构,并解释如何编译和执行为字节代码,如下所示:

稍作修改就可以相当棒了:

理解Java代码如何编译为字节代码并在Java虚拟机(JVM)上执行是至关重要的,因为它可以帮助您了解程序执行时发生了什么。 这种理解不仅确保语言特征具有逻辑意义,而且还可以在进行某些讨论时理解权衡和副作用。
本文解释了如何将Java代码编译为字节代码并在JVM上执行。 要了解JVM中的内部体系结构和字节码执行期间使用的不同内存区域,请参阅我上一篇关于JVM Internals的文章。
本文分为三个部分,每一部分细分为几个小段落。 可以单独阅读每个部分,不过通读之后概念将会大致构建起来,因此通读最为容易。 每个部分将涵盖不同的Java代码结构,并解释这些代码是如何编译和执行为字节代码,如下所示:

It is possible to read each section in isolation however the concepts will generally build up so it is easiest to read the sections,这句的sections谷歌并没有理解。一词多义和指代是一个比较难判定的部分。

0 0
原创粉丝点击