On Jul 7, 2009, at 9:24 AM, Per Bothner wrote:

> Does that mean HotSpot can directly execute Pack200 files?
> Or could be made to do so without excessive work?

No, the UNSIGNED5 format is just a variable-length 32-bit int encoding  
used in most places by pack.

> Pack200 is complicated to both produce and decode, and the
> Java api is oriented towards batch conversion to/from a
> jar file.

Pack is a serialization format for a group of classes and their  
methods.  It is not tied strongly to JAR, and could skip the JAR step  
for loading into the JVM.  A strength-reduced version of the format  
(sort of like zip -1) would not be hard to decode.  Re-thinking the  
code pipeline from disk to JIT requires a lot of work, but (and this  
is all I'm suggesting) Pack could play a role in that pipeline.

-- John


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "JVM 
Languages" group.
To post to this group, send email to jvm-languages@googlegroups.com
To unsubscribe from this group, send email to 
jvm-languages+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/jvm-languages?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to