不需要操作系统的 Java VM?

发布于 2024-07-17 11:52:01 字数 110 浏览 7 评论 0原文

我知道 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 技术交流群。

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

发布评论

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

评论(9

や三分注定 2024-07-24 11:52:01

与 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.)

双手揣兜 2024-07-24 11:52:01

你需要什么?

也许 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/

疯狂的代价 2024-07-24 11:52:01

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.

鹿! 2024-07-24 11:52:01

还有 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.

弃爱 2024-07-24 11:52:01

JNode OS 是一个主要用 Java 编写的操作系统。

JNode OS is an operating system written mostly in Java.

抹茶夏天i‖ 2024-07-24 11:52:01

甲骨文似乎再次朝这个方向努力

通过 Oracle 收购 BEA Systems 获得...
甲骨文复兴了前卫
虚拟化技术:Java
直接运行的虚拟机
虚拟机管理程序,无需操作
系统。

请参阅

Oracle seems to work again in that direction

Gained with Oracle's acquisition of BEA Systems ...
Oracle has resuscitated avant-garde
virtualization technology: a Java
Virtual Machine that runs directly on
the hypervisor, without an operating
system.

see

青春如此纠结 2024-07-24 11:52:01

JOE,Java On Everything,无需操作系统即可运行 Java。 全部都是 Java,位于 https://github.com/joekoolade/JOE

JOE通过将操作系统内置到程序中,可以在没有操作系统的情况下运行Java程序。 这使得程序更容易配置和部署。 JOE 可以使任何 Java 程序员成为嵌入式开发人员。

JOE是一个进程虚拟机,可以在没有操作系统的情况下运行Java应用程序。 它通过虚拟化操作系统和硬件,将操作系统构建到程序中。 这消除了操作系统、硬件、用户代码和虚拟机之间的界限。 用户/管理程序交叉、程序安全、内存保护、虚拟寻址和 JNI 库接口中的开销和复杂性都被 Java 语言中更简单、更有效的机制所取代。 JOE 通过用 Java 实现这些层,将它们无缝地融合在一起。 这种虚拟化 Java 环境提供了从应用程序到硬件的可靠、安全、内聚且一致的面向对象操作。

JOE, Java On Everything, can run Java without an OS. It is all Java and at https://github.com/joekoolade/JOE

JOE can run a Java program without an operating system by building the operating system into the program. This makes the program easier to configure and deploy. JOE can make any Java programmer an embedded developer.

JOE is a process virtual machine that can run a Java application without an operating system. It builds the OS into the program by virtualizing the OS and hardware. This removes the boundaries between the OS, hardware, user code, and virtual machine. The overhead and complexities in the user/supervisor crossing, program security, memory protection, virtual addressing, and the JNI library interface are replaced with simpler and more efficient mechanisms found in the Java language. JOE seamlessly blends those layers together by implementing them all in Java. This virtualized Java environment provides a secure, safe, cohesive, and consistent object oriented operation from application to hardware.

月牙弯弯 2024-07-24 11:52:01

只是我看到和听到的一个小片段。

麻省理工学院在 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.

星軌x 2024-07-24 11:52:01

我对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.

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