harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Pervov" <pmcfi...@gmail.com>
Subject Re: why do_field_sorting turned off when calculating offset for fields?
Date Fri, 19 Dec 2008 08:26:19 GMT
These options were always available in DRLVM, and [1] only made them
available for configuration from command line.

Pavel.

P.S. I can also recall some issues related to changing order of fields
which were introducing measurable preformance loss on various
benchmarks.

On Fri, Dec 19, 2008 at 11:16 AM, Aleksey Shipilev
<aleksey.shipilev@gmail.com> wrote:
> Hi, Xiaoming!
>
> If I recall correctly, field sorting incurs some performance
> degradations on some of SPECjvm2008 benchmarks. But it helps
> SPECjbb2005 a lot, say +1-2%. Here's the issue [1], where these
> options were introduced.
>
> Thanks,
> Aleksey.
>
> [1] https://issues.apache.org/jira/browse/HARMONY-5040
>
> On Fri, Dec 19, 2008 at 10:25 AM, xiaoming gu <xiaoming.gu@gmail.com> wrote:
>> Hi, all. I'm studying fields' offsets these days. I find there are some
>> ordering operations for instance fields and static fields seperately in
>> assign_offsets_to_fields() in Prepare.cpp. These orderings are according to
>> field size to reduce internal fragmentation. I don't know why such
>> operations are turned off by default. Is there any concern I missed? Thanks.
>>
>> Xiaoming
>>
>> --
>> I believe that unarmed truth and unconditional love will have the final word
>> in reality.  --Martin Luther King Jr.
>>
>

Mime
View raw message