Re: question about support for compressed StringBuffers

2006-09-22 Thread Weldon Washburn
On 9/22/06, Craig Zilles <[EMAIL PROTECTED]> wrote: Okay, I'm going to be playing around with this code and other approaches for "[C" compression. Weldon - you say: > historically things like string compression make a difference to > heap footprint and cache miss performance

Re: question about support for compressed StringBuffers

2006-09-22 Thread Craig Zilles
Okay, I'm going to be playing around with this code and other approaches for "[C" compression. Weldon - you say: historically things like string compression make a difference to heap footprint and cache miss performance do you know of other VMs that do this optimizations and i

Re: question about support for compressed StringBuffers

2006-09-22 Thread Weldon Washburn
hmm... I tried to putting a standard title on this email. It looks like we all suffer from too much email. So I repeat what I said earlier. All, I took a look at this code. I vote for keeping it. The reason is because Java is string intensive and historically things like string compression m

Re: question about support for compressed StringBuffers

2006-09-22 Thread Alexey Varlamov
Just a thought: DRLVM yet does not support 4-byte supplement characters of UTF8 (6-bytes encoded in classfiles v49) - and this code may appear useful if/when we are going to fix that... -- Alexey 2006/9/21, Geir Magnusson Jr. <[EMAIL PROTECTED]>: So do we fix it or scrap it? geir On Sep 20, 20

[drlvm][vm] vm_strings.cpp compressing to 8-bit (was "question about support for compressed StringBuffers")

2006-09-21 Thread Weldon Washburn
estion about support for compressed StringBuffers* Reply | Reply to all | Forward | Print | Add sender to Contacts list | Delete this message | Report phishing | Show original | Message text garbled? I noticed in the file trunk/vm/vmcore/src/util/vm_strings.cpp there is some code to support the s

Re: question about support for compressed StringBuffers

2006-09-20 Thread Geir Magnusson Jr.
So do we fix it or scrap it? geir On Sep 20, 2006, at 10:23 AM, Ivan Volosyuk wrote: This is an old code and it is unused for quite some time. Most likely it is broken. -- Ivan On 9/20/06, Craig Zilles <[EMAIL PROTECTED]> wrote: I noticed in the file trunk/vm/vmcore/src/util/ vm_st

Re: question about support for compressed StringBuffers

2006-09-20 Thread Ivan Volosyuk
This is an old code and it is unused for quite some time. Most likely it is broken. -- Ivan On 9/20/06, Craig Zilles <[EMAIL PROTECTED]> wrote: I noticed in the file trunk/vm/vmcore/src/util/vm_strings.cpp there is some code to support the storage of strings in arrays of (8b) bytes rath

question about support for compressed StringBuffers

2006-09-19 Thread Craig Zilles
I noticed in the file trunk/vm/vmcore/src/util/vm_strings.cpp there is some code to support the storage of strings in arrays of (8b) bytes rather than arrays of (16b) unsigned shorts. In the debugger, I placed breakpoints in this code, and it was never active in my run. Can someone tel