KVM(Kilo 虚拟机)与 JVM(Java 虚拟机)有何不同?

发布于 2024-08-09 17:26:18 字数 224 浏览 3 评论 0原文

我对移动设备上的 Kilo 虚拟机有基本的了解,我对 JVM 如何工作类加载器、可执行引擎、方法区等有清楚的了解。

  • 从技术上讲,KVM 与 JVM 有何不同?

  • 与 JVM 相比,KVM 是否增加了执行时间?

  • 有任何以性能为导向的差异吗?

  • 内存管理

谢谢!

I have basic idea on Kilo Virtual Machine on Mobiles , I have clear idea of how JVM works class loaders , Executable Engine,Method Area etc .

  • Technically how KVM differs from JVM ?

  • Does KVM increases the execution time as compared to JVM ?

  • Any Performance Oriented difference ?

  • Memory management

Thanks !

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

|煩躁 2024-08-16 17:26:18

KVM 不执行类卸载,也不支持自定义类加载器。

官方 Sun Ltd KVM 仅支持 CLDC 1.0,因此确实包含仅在 CLDC 1.1 中修复的 API 级错误。

开发 KVM 时需求的重点是内存占用,因此您可以预期性能权衡会增加 CPU 使用率(即更少的缓冲...)。

线程调度略有不同,但不会影响线程安全应用程序代码。

The KVM doesn't perform class unloading and doesn't support custom class loaders.

The official Sun Ltd KVM only supports CLDC 1.0 and therefore does contain API-level bugs that were only fixed in CLDC 1.1.

The focus of the requirements when developing the KVM was on memory footprint so you can expect performance trade-offs to increase cpu usage (i.e. less buffering...).

Thread scheduling is slightly different but it's nothing that would impact Thread-safe application code.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文