Java编译程序技术与Java性能_英文_.doc

  1. 1、本文档共6页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Java编译程序技术与Java性能_英文_

Ξ Java Com p iler Techn o logy an d Java Perf orm an ce J I Zhen2yan CH EN G H u ( In st itu te o f So f tw a re T h e C h ine se A cadem y o f Sc ience s B e ijing 100080) E 2m a il: ch engh u@ 126. com A bstrac t T h is p ap e r summ a r ize s J ava’ s com p ile r tech no lo gy, and so r t s a ll k ind s o f J ava com p ile r s in to f ive ca tego r ie s: com p ile r s w ith in te rp re te r tech no lo gy, com p ile r s w ith J IT com p ile r tech no lo gy, com p ile r s w ith adap t ive op t im iza t io n tech no lo gy, na t ive com p ile r s and t ran sla to r s. T h e ir a rch itec tu re s and w o rk ing p r inc ip le s a re de sc r ibed and ana lyzed in de ta il. T h e au tho r s a lso ana lyze th e effec t th a t com p ile r tech no lo gy h a s o n J ava p e rfo rm ance. Key words J ava p ro g ramm ing language, com p ile r, p e rfo rm ance. T h e b igge st d raw back o f J ava is low run t im e sp eed. T h is d raw back lim it s th e rap id deve lopm en t o f J ava. T h e low run t im e sp eed is m a in ly cau sed by J ava’ s com p ile r a rch itec tu re. T o so lve th e p ro b lem , p eop le adop t m any k ind s o f com p ile r tech no lo gy. Com p iler Sy stem w ith In terpre ter Techn o logy[ 1~ 4 ] 1 1. 1 A rch itec ture an d work in g proce ss F igu re 1 show s th e a rch itec tu re o f th e J ava com p ile r sy stem w ith an in te rp re te r. T h e J ava“com p ile r”, javac, t ran sla te s J ava so u rce co de s in to by teco de s and p u t s th em in to a . c la ss f ile. J ava by teco de s can be seen a s th e m ach ine co de in st ruc2 t io n s fo r th e JVM (J ava v ir tua l m ach ine). T h e by teco de s th en run o n th e JVM . F ir st, JVM lo ad s . c la ss f ile and ve r if ie s th e by teco de s. T h en af te r ve r if ica t io n, th e in te rp re te r beg in s to execu te th e by te2 co de s. A s show n in F ig. 1, it run s in a loop , ge t s o ne in st ruc t io n (v iz

文档评论(0)

153****9595 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档