| From | Sent On | Attachments |
|---|---|---|
| phon...@mobileandembedded.org | Jul 26, 2007 11:09 pm | |
| phon...@mobileandembedded.org | Jul 27, 2007 7:23 am | |
| phon...@mobileandembedded.org | Apr 18, 2008 7:45 am | |
| phon...@mobileandembedded.org | Apr 18, 2008 9:55 am | |
| phon...@mobileandembedded.org | Apr 22, 2008 10:15 am | |
| phon...@mobileandembedded.org | Apr 23, 2008 9:28 am | |
| phon...@mobileandembedded.org | Apr 23, 2008 11:33 pm | |
| phon...@mobileandembedded.org | Apr 23, 2008 11:35 pm | |
| phon...@mobileandembedded.org | Apr 24, 2008 8:22 am | |
| phon...@mobileandembedded.org | Apr 24, 2008 8:27 am | |
| phon...@mobileandembedded.org | Apr 24, 2008 10:53 pm | |
| phon...@mobileandembedded.org | Apr 26, 2008 11:12 pm | |
| phon...@mobileandembedded.org | Apr 28, 2008 12:21 am | |
| phon...@mobileandembedded.org | May 5, 2008 4:36 am | |
| phon...@mobileandembedded.org | May 5, 2008 4:41 am | |
| phon...@mobileandembedded.org | May 5, 2008 2:22 pm | |
| phon...@mobileandembedded.org | May 9, 2008 3:45 am | |
| phon...@mobileandembedded.org | May 9, 2008 8:21 am |
| Subject: | Re: CVMstoreImpl assembly code | |
|---|---|---|
| From: | phon...@mobileandembedded.org (phon...@mobileandembedded.org) | |
| Date: | Apr 24, 2008 8:27:51 am | |
| List: | net.java.dev.phoneme.advanced | |
Regarding JIT becoming slower,we are using the default c helpers (in ccm_runtime.c) for object allocation. So it's not using the fastlock at all I think...
Object allocation does not use fastlocking, but it does use what we call a
microlock, which accomplishes something similar in the contended case. The
assembler code in ccmallocate_cpu.c does attempt to grab the microlock with just
a swap instruction. If successful, it can then allocate the object inline if
there is room in the youngen for it. If you've changed it to instead just call
out to the C helper in ccm_runtime.c, this will make it slower, but it should
not make the JIT slower than the interpreter.
BTW, why are you changing how object allocation is done? If you are using
something than the ARM port, or have done your own port, you really need to let
us know when you ask these types of questions.
thaks,
Chris [Message sent by forum member 'cjplummer' (cjplummer)]





