Re: [rvm-research] Pre-Tenuring

Eliot Moss <[email protected]> Fri, 10 Aug 2018 13:17:59 -0400
Newsgroups gmane.comp.java.jikes.rvm.devel
Message-ID <[email protected]>
On 8/10/2018 12:04 PM, Shoaib Akram wrote:
> Hi All,
> 
> Hello again from Ghent! Something that should be a cakewalk is giving me a headache.
> 
> I want to pre-tenure certain objects. In MemoryManager, instead of assigning ALLOC_DEFAULT, I check the classes of objects and choose instead ALLOC_MATURE. This happens during compilation.
> 
> Anyway, what’s next is the mutator checks the allocator changing it to LOS if the object is large.
> 
> In GenImmixMutator, I use the mature allocator to allocate into the mature space.
> 
> Pretty straightforward really.
> 
> But it does not work.
> 
> Before I embark on the debugging process, I wonder if anyone has advice what step could be missing here. Or any synchronization issues that may arise.
> 
> Thanks,
> Shoaib

Dear Shoaib -- Is it only *large* ALLOC_MATURE objects that fail, or *all* ALLOC_MATURE objects?
Or what?  I could not figure out what you're trying to tell us.  Also, what is the LOS
configuration?  Only one LOS, or one for MATURE and non-MATURE?  Or something else?

I can't claim to be expert on the innards here, but I think that a clearer question / problem
description may focus better the answers you can expect ...

Regards - Eliot Moss

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Jikesrvm-researchers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers