不需要操作系统的 Java VM?
我知道 BEA 正在开发 LiquidVM,它不需要底层操作系统,但我想知道开源社区中是否有人正在开发类似的东西。
理想情况下,我希望找到一种由操作系统引导加载程序直接加载虚拟机的实现。
I know that BEA was working on LiquidVM which didn't require an underlying operating system, but would like to know if anyone in the open source community is working on something similar.
Ideally I would like to find an implementation where the VM is directly loaded by the OS boot loader.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(9)
与 SANOS 不同,JNode 操作系统是一个完整的操作系统,具有许多受支持的设备、文件系统、网络堆栈、 GUI 堆栈、命令 shell 和 50 条左右的命令等等。 JNode 目前在启用一个处理器的 x86(32 位)上运行,但 x86-64 和多处理器版本正在开发中。 (JNode 99.99% 是 Java。移植到新架构需要重写汇编程序中的 0.01% 代码,创建/修改特定于硬件的驱动程序......并为新架构编写本机代码编译器。)
我们目前有〜 7 名活跃的开发人员,但我们一直在寻找新人加入团队,特别是了解 Java AND 代码生成、垃圾收集器、驱动程序等的人。
(无论如何,我们使用最新版本的 OpenJDK 类库:最后一次计数为 1.6u24。)
Unlike SANOS, the JNode operating system is a full operating system with many supported devices, file systems, a network stack, a GUI stack, a command shell and 50 or so commands, and much more. JNode currently runs on x86 (32 bit) with one processor enabled, but x86-64 and multi-processor versions are in development. (JNode is 99.99% Java. Porting to a new architecture would entail rewriting the 0.01% of code that is in assembler, creating / modifying hardware specific drivers ... and writing a native code compiler for the new architecture.)
We currently have ~7 active developers, but we are always looking for new people to join the team, especially people who understand Java AND code generation, garbage collectors, drivers and so on.
(And for what it is worth, we use a recent version of the OpenJDK class libraries: 1.6u24 at the last count.)
你需要什么?
也许 Sanos 可以为您提供硬件和 JVM 之间可以使用的一小段代码?
http://www.jbox.dk/sanos/
What is it you need?
Perhaps Sanos can give you a small chunk of code between the hardware and the JVM which you can use?
http://www.jbox.dk/sanos/
Sun 项目 Squawk 是一个在硬件而不是底层操作系统上运行的虚拟机。 对于 Sun SPOT 等嵌入式设备很有用,其中 Squawk 是操作系统。
Squawk 根据 GPLv2 获得许可。
There is the Sun project Squawk which a VM that runs on hardware instead of an underlying OS. Useful for embedded devices like the Sun SPOT where Squawk is the OS.
Squawk is licenced under GPLv2.
还有 Project Guest VM,它是托管在 Xen 虚拟机管理程序上的 JVM 。 虽然主页似乎没有提供更多详细信息,但有一个关于 Google 技术讲座这个项目也是如此。
There's also Project Guest VM, which is a JVM hosted on Xen hypervisor. While the home page seems to be rather light on details, there's a Google Tech Talk about this project as well.
JNode OS 是一个主要用 Java 编写的操作系统。
JNode OS is an operating system written mostly in Java.
甲骨文似乎再次朝这个方向努力
请参阅
Oracle seems to work again in that direction
see
JOE,Java On Everything,无需操作系统即可运行 Java。 全部都是 Java,位于 https://github.com/joekoolade/JOE
JOE, Java On Everything, can run Java without an OS. It is all Java and at https://github.com/joekoolade/JOE
只是我看到和听到的一个小片段。
麻省理工学院在 60 年代/70 年代开发了一台 Lisp 机器,这是一台本质上理解 Lisp 的机器,我认为他们也将其商业化。
大约在 2002 年,我听说有人正在开发 FPGA 或 ASIC 芯片上的 JVM。
MIT/Lisp 的故事是真的,我在他们的博物馆看到过,有谁知道关于芯片上的 JVM 是否有真相?
谢谢,
马丁.
Just a small snippet I seen and heard.
MIT in the 60's/70's developed a Lisp machine, this was a machine that intrinsically understood Lisp, I think that they went onto commercialize it also.
I had heard in about 2002 that someone was doing to develop a JVM on a chip a FPGA or ASIC.
The MIT/Lisp story is true, I seen it in their museum, does anyone know if there is any truth about the JVM on a chip?
thanks,
Martin.
我对java很陌生,并且我有一些电子知识。
JVM是一个实际运行在系统上的虚拟机。 可能是windows或solares x86平台。
但据我所知,JVM 本身充当我们编译的字节码的系统。 对于字节码 JVM,虚拟化它自己的 ALU、堆、堆栈。 它甚至有自己的机器和汇编语言。
因此,如果我们能够在硬件芯片上实现 JVM 规范,那么它将不再是 JVM,而是成为独立的 Java 机,我们可以在其上开发 100% 用 java 编写的操作系统。
所以在这种情况下,JVM将不是一个操作系统,而是一个直接理解java字节码的系统。
I am very new to java and and i have some knowledge of electronics.
JVM is a virtual macjine which actually run over a system. It may be windows or solares x86 platform.
But as far as i know JVM itself act as a system for the Bytecode that we compile. For a byte code JVM virtualise its own ALU, Heap, Stack extra. It even have its own machine and assmbly language.
So some how if we able to realize a JVM specification on a Hardware chip then it will not be JVM anymore but i will become standalone Java Machine over which we can develop a operating system 100% written in java.
So in this case JVM will not be an OS but a System which directly understand java bytecode.