LWN.net Logo

Virtual Machines and Memory Protections

Virtual Machines and Memory Protections

Posted Nov 22, 2006 4:18 UTC (Wed) by bluefoxicy (guest, #25366)
In reply to: Virtual Machines and Memory Protections by jwb
Parent article: Virtual Machines and Memory Protections

Back in the day, Linux had no threading. There was a Green Threads library that faked it; Java called that for threading.

What does the Sun JVM use for various parts of Java? How about Kaffe? How about Apache's Project Harmony? GNU Classpath? Do they all use their own complete rewrites of everything in Java?

What is the JVM written in? Does it have bugs? (Sun's has had a few security holes itself, mostly though you would have to pass it broken Java bytecode to trigger these)

Writing something in Java has the same effect as writing it in C#: You don't know about the rest of the program, but the code YOU WROTE is immune to X Y and Z class of bugs. You're not even sure what virtual machine implementation the code is going to run on (Mono/IKVM, Kaffe, Harmony, Sun Java, IBM Java, GNU Classpath, proprietary in-house...).


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds