activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From franz1981 <>
Subject [GitHub] activemq-artemis issue #1263: ARTEMIS-1156: FIX: Long Autoboxing occurring o...
Date Thu, 11 May 2017 07:50:43 GMT
Github user franz1981 commented on the issue:
    Re 1:
    agree with sorrow: I've to admit that an all-out primitive solution  would be ideal in
the long term (in GC terms) , but with too many effects in the short one a breaking
    Re 2: 
    agree, me too, I've to check the code better!
    Re 3:
    depends: giving its fixed size, collisions will exists but we know how we generates the
ids :) and this will help to choose the hashed function wisely (is not a general purpose interner/cache).
    But I agree on the size of the cache (I tends to size interners of about 16 elements,
max 32 in general, to be more cache effective): avoid magic numbers/tuning is better.
    And it will add complexities too!

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message