decoration decoration
Stories

GROKLAW
When you want to know more...
decoration
For layout only
Home
Archives
Site Map
Search
About Groklaw
Awards
Legal Research
Timelines
ApplevSamsung
ApplevSamsung p.2
ArchiveExplorer
Autozone
Bilski
Cases
Cast: Lawyers
Comes v. MS
Contracts/Documents
Courts
DRM
Gordon v MS
GPL
Grokdoc
HTML How To
IPI v RH
IV v. Google
Legal Docs
Lodsys
MS Litigations
MSvB&N
News Picks
Novell v. MS
Novell-MS Deal
ODF/OOXML
OOXML Appeals
OraclevGoogle
Patents
ProjectMonterey
Psystar
Quote Database
Red Hat v SCO
Salus Book
SCEA v Hotz
SCO Appeals
SCO Bankruptcy
SCO Financials
SCO Overview
SCO v IBM
SCO v Novell
SCO:Soup2Nuts
SCOsource
Sean Daly
Software Patents
Switch to Linux
Transcripts
Unix Books

Gear

Groklaw Gear

Click here to send an email to the editor of this weblog.


You won't find me on Facebook


Donate

Donate Paypal


No Legal Advice

The information on Groklaw is not intended to constitute legal advice. While Mark is a lawyer and he has asked other lawyers and law students to contribute articles, all of these articles are offered to help educate, not to provide specific legal advice. They are not your lawyers.

Here's Groklaw's comments policy.


What's New

STORIES
No new stories

COMMENTS last 48 hrs
No new comments


Sponsors

Hosting:
hosted by ibiblio

On servers donated to ibiblio by AMD.

Webmaster
Apples and Grapefuit. | 503 comments | Create New Account
Comments belong to whoever posts them. Please notify us of inappropriate comments.
Apples and Grapefuit.
Authored by: Anonymous on Sunday, April 22 2012 @ 12:14 AM EDT
AFAIK -- not being a Java programmer -- JVM and Dalvik are two very different beasts. My understanding is that all Java(tm) programs running on a system run on the same JVM, whereas each Java(android) program is run by its own dedicated Dalvik.
It might be more accurate to say that JVM's were designed to be able to run multiple programs, while Dalvik was built with the assumption of having one VM (often under a unique userid) per program.

But there's no ultimate reason why you could not ignore the multi-program capability of the JVM and have one JVM per program too. Consider if you have a multiuser linux system, you already have something quite similar to the android case of multiple VM's running programs under distinct userids.

We could ask if IPC is possible between JVMs, but the answer to that is easy. On Android, code running under Dalvik ultimately uses JNI to talk to kernel interfaces such as the binder driver - and JNI is from Java, not something unique to Dalvik.

Probably you can even tweak the JVM to be able to be forked & specialized in the way zygote does to the DVM in order to inherit read only shared mappings of commonly used libraries, without breaking its compatibility with traditional java, at least when invoked in a more traditional manner.

Look into the details of the situation, and the differences between what you could theoretically do with a JVM vs. a DVM aren't really so great - more it's a question of what seemed more technically advantages, more immune to red tape, (and quite possibly, more fun) when the decisions were made.

Of course this is all largely irrelevant, as it's unlikely Google would by free choice replace the DVM with a JVM derivative at this point in time, and the legal logic by which Oracle might force them to seems (at least from a programmers perspective) severely lacking.

[ Reply to This | Parent | # ]

Dalvik /= Java
Authored by: jjs on Sunday, April 22 2012 @ 06:16 AM EDT
Java doesn't run on the Android. Dalvik does. So there's no java(andriod).

Another crucial difference is Dalvik is register based, Java is stack based. Big
difference for small/embedded platforms - Dalvik is better for them, from what I
understand. Oh, and I recall in the deposition information the Oracle engineers
praising Dalvik for doing so - being better than Java. Great copying - so good
it's better than the original.

---
(Note IANAL, I don't play one on TV, etc, consult a practicing attorney, etc,
etc)

[ Reply to This | Parent | # ]

Groklaw © Copyright 2003-2013 Pamela Jones.
All trademarks and copyrights on this page are owned by their respective owners.
Comments are owned by the individual posters.

PJ's articles are licensed under a Creative Commons License. ( Details )