|
next →
← prev
JVM (Java Virtual Machine) Architecture
JVM (Java Virtual Machine) is an abstract machine. It is a specification that provides runtime environment in which java bytecode can be executed. JVMs are available for many hardware and software platforms (i.e. JVM is platform dependent). What is JVMIt is:
What it doesThe JVM performs following operation:
JVM provides definitions for the:
JVM ArchitectureLet's understand the internal architecture of JVM. It contains classloader, memory area, execution engine etc. 1) ClassloaderClassloader is a subsystem of JVM which is used to load class files. Whenever we run the java program, it is loaded first by the classloader. There are three built-in classloaders in Java.
Output: sun.misc.Launcher$AppClassLoader@4e0e2f2a null These are the internal classloaders provided by Java. If you want to create your own classloader, you need to extend the ClassLoader class. 2) Class(Method) AreaClass(Method) Area stores per-class structures such as the runtime constant pool, field and method data, the code for methods. 3) HeapIt is the runtime data area in which objects are allocated. 4) StackJava Stack stores frames. It holds local variables and partial results, and plays a part in method invocation and return. Each thread has a private JVM stack, created at the same time as thread. A new frame is created each time a method is invoked. A frame is destroyed when its method invocation completes. 5) Program Counter RegisterPC (program counter) register contains the address of the Java virtual machine instruction currently being executed. 6) Native Method StackIt contains all the native methods used in the application. 7) Execution EngineIt contains:
8) Java Native InterfaceJava Native Interface (JNI) is a framework which provides an interface to communicate with another application written in another language like C, C++, Assembly etc. Java uses JNI framework to send output to the Console or interact with OS libraries.
Next Topic Variable Datatype
← prev
next →
|
深圳SEO优化公司鸡西网站开发推荐六安网站开发报价莆田网站推广推荐延边seo哪家好邯郸关键词排名包年推广哪家好黔东南SEO按效果付费赤峰网站制作报价张掖网站定制公司黄山网站制作设计报价绥化网站优化报价吕梁设计网站推荐晋中百度seo价格鹤岗网站开发咸宁模板推广推荐襄樊网站优化按天收费推荐安庆网站设计模板价格长葛百度竞价价格霍邱网站推广系统推荐南联网站制作设计汕尾设计公司网站报价连云港阿里店铺运营公司松原网站排名优化报价大丰至尊标王铜仁网站设计报价诸城网站建设设计多少钱舟山seo排名运城百度seo价格临沂设计网站哪家好广元网站建设公司德宏外贸网站制作多少钱歼20紧急升空逼退外机英媒称团队夜以继日筹划王妃复出草木蔓发 春山在望成都发生巨响 当地回应60岁老人炒菠菜未焯水致肾病恶化男子涉嫌走私被判11年却一天牢没坐劳斯莱斯右转逼停直行车网传落水者说“没让你救”系谣言广东通报13岁男孩性侵女童不予立案贵州小伙回应在美国卖三蹦子火了淀粉肠小王子日销售额涨超10倍有个姐真把千机伞做出来了近3万元金手镯仅含足金十克呼北高速交通事故已致14人死亡杨洋拄拐现身医院国产伟哥去年销售近13亿男子给前妻转账 现任妻子起诉要回新基金只募集到26元还是员工自购男孩疑遭霸凌 家长讨说法被踢出群充个话费竟沦为间接洗钱工具新的一天从800个哈欠开始单亲妈妈陷入热恋 14岁儿子报警#春分立蛋大挑战#中国投资客涌入日本东京买房两大学生合买彩票中奖一人不认账新加坡主帅:唯一目标击败中国队月嫂回应掌掴婴儿是在赶虫子19岁小伙救下5人后溺亡 多方发声清明节放假3天调休1天张家界的山上“长”满了韩国人?开封王婆为何火了主播靠辱骂母亲走红被批捕封号代拍被何赛飞拿着魔杖追着打阿根廷将发行1万与2万面值的纸币库克现身上海为江西彩礼“减负”的“试婚人”因自嘲式简历走红的教授更新简介殡仪馆花卉高于市场价3倍还重复用网友称在豆瓣酱里吃出老鼠头315晚会后胖东来又人满为患了网友建议重庆地铁不准乘客携带菜筐特朗普谈“凯特王妃P图照”罗斯否认插足凯特王妃婚姻青海通报栏杆断裂小学生跌落住进ICU恒大被罚41.75亿到底怎么缴湖南一县政协主席疑涉刑案被控制茶百道就改标签日期致歉王树国3次鞠躬告别西交大师生张立群任西安交通大学校长杨倩无缘巴黎奥运