早教吧 育儿知识 作业答案 考试题库 百科 知识分享

英语达人帮帮忙啊!请帮我翻译一下这段话!急用,我就这点分了,请谅解一下!14.2.2.DynamicTransformationDynamictransformationoperatesatsometimebetweentheJVMrequestforaclassandtheloadingofthatclass.Dynamictr

题目详情
英语达人帮帮忙啊!请帮我翻译一下这段话!急用,我就这点分了,请谅解一下!
14.2.2. Dynamic Transformation
Dynamic transformation operates at some time between the JVM request for a class and the loading of that class. Dynamic transformation may occur at the server as specific clients request the class, at an intermediate proxy that transforms classes as they pass through the network [17], or at load time as the classes enter the JVM.
The classloader architecture provided in Java provides a convenient mechanism to alter the semantics of loading a class. A classloader is a user-defined object in Java responsible for locating and obtaining classfiles and handing them to the JVM. While classloaders are intended to enable programmers to control the source location or time of class, they also provide an opportunity for transformation.
Performing the transformation at load time is the only way to guarantee transformation of foreign code, such as applets or servlets loaded from the network. It can apply whole-program transformations to such applications.
In addition to ensuring that every application class supports a given feature, a transformation can also be restrictive, guaranteeing that no application class uses a forbidden feature. For example, a restrictive transformer can limit access to a secure resource by simply disallowing any code that references that resource. The transformer can then safely add its own calls to that resource. Given Java's type-safety, all calls to that resource are guaranteed to be legitimate. (However, see the discussion later on reflection).
Load-time transformation is incremental: The transformer processes individual classes one at a time as they are loaded. The transformer does not control the load order of the classes, and most current JVMs do not allow modification or reloading of already-loaded classes. Transformers thus have only one chance to transform classes and often must do so with incomplete information about the entire application.
This constraint limits the applications for load-time transformation. For example, a dynamic transformer cannot, in general, apply optimizations requiring interprocedural analysis (such as leaf method removal) because the transformation may operate on a call site before the matching method is loaded. Transformer control over the class load order would improve the generality of dynamic transformation but would not solve the problem. For method invocations for which the transformer cannot determine the run-time type of the object, the classloader would require all possible descendents of that object to determine the safety of that method invocation. The current specification of the classfile does not provide that information, and in general, new subclasses may dynamically appear.
请大哥们帮下忙,急用!!!
▼优质解答
答案和解析
14.2.2.动态的变形
动态的变形在一些时间为班级和那个班级的载入在 Java虚拟机请求之间操作.当特定的客户请求班级,动态的变形可能在伺候器发生,当他们通过网络,在一个转换的中间代理分类[17],或在负荷当班级进入 Java虚拟机.
classloader 建筑学在爪哇提供提供一种方便的机制改变载入一个班级的语意学.classloader 在负责位于而且获得 classfiles 而且把他们交给 Java虚拟机的爪哇是一个使用者定义的物体.一会儿 classloaders 想要的是使程序师能够控制班级的来源位置或时间,他们也提供一个机会给变形.
在负荷时间操作变形是唯一的方法保证外国的密码变形,例如 支程序或 servlets 从网络装载.它能应用全部- 计画变形到如此的申请.
除了确定每个申请班级支援一个给定的特征,变形也可能是限制的,保证那没有申请班级使用一个被禁止的特征.举例来说,一个限制的变压器能限制通路为无虑的资源被只是不许任何把叁考资源编码.变压器能然后安全地把它的自己呼叫加入资源.给予的爪哇式的-安全,对资源的所有呼叫被保证合法.(然而,稍后看见讨论反映).
负荷- 时间变形是增加的:当他们被装载,在次变压器处理个人班级一.变压器不 控制班级的负荷次序,而且最新的 Java虚拟机不 允许修正或再装货已经-装载班级.变压器如此只有一偶然发生转换班级和时常一定用 关於~的不完全的资讯~整个的申请这麽做.
为负荷- 时间变形的这个限制极限申请.因为变形可能在一个呼叫位置之上操作 ,所以举例来说,一个动态的变压器不能够,大体上,应用最佳化需要 interprocedural 分析 ( 例如 叶方法移动) 在那之前相配方法被装载.变压器对~的控制班级装载次序会改良动态的变形概论但是不解决问题.对於变压器不能够决定物体的奔跑- 时间类型的表演逼真的祈愿,classloader 会需要所有的可能下降的那个物体决定那个方法祈愿的安全.classfile 的现在规格不 提供数据,而且大体上,新的亚纲可能动态地出现.
看了英语达人帮帮忙啊!请帮我翻译一...的网友还看了以下:

旅游文章翻译+句子结构分析(加急)帮忙翻译下下面文章,不要机器软件翻译的~~翻译后,挑出懂的句子,  2020-05-21 …

急帮忙翻译成英语好吗她有一头利落的短发从她的黄发及穿着可以看出她非常时尚她很娇小但是看上去很有气质  2020-06-25 …

翻译怎的很紧急帮忙翻译下“召拜殿中侍御史,不忍去凝府,台劾,左迁光禄寺主簿”“自致于绳检之外,豫置  2020-07-01 …

急帮我翻译成英文,谢谢1住房成为当今流行的话题,这是不难理解的2他对棒球与其说是喜欢不如说是好奇  2020-10-30 …

十万火急帮忙翻译英语小短文“在中国,喝茶是一种仪式(ritual),一种精致品十万火急帮忙翻译英语小  2020-11-07 …

■急■帮忙翻译英语句子,帮忙翻译,:(花费我一个小时做刘老师布置的英语作业。)(花费我10分钟打扫卫  2020-11-25 …

急,帮我翻译一个句子!梳子有4个规格,每个规格5付模具合计20付,每付800元共计16000元.帮我  2020-12-14 …

急!急!急!帮我翻译一下:众所周知,微笑是种世界语,希望我自信的微笑能给我带来好运.  2020-12-15 …

急!急!急!帮我翻译下吧指出了“好孩子”集团在品牌营销过程中存在的五大问题:过分依赖低价促销、品牌任  2020-12-18 …

翻译这段英语~急帮我翻译一下这段文字,不要用翻译器在一个展览区,我和JONATHAN在聊电话,突然,  2020-12-24 …