Re: [rvm-research] Memory Allocator Source - **new

Erik Brangs <[email protected]> Thu, 26 Apr 2018 08:42:40 +0200
Newsgroups gmane.comp.java.jikes.rvm.devel
Message-ID <[email protected]>
Hi,

On 26.04.2018 04:38, Khaled Z Mahmoud wrote:
> I want a look at the Jikesrvm code that is responsible for memory allocation. Whenever “new” is invoked in Java, that parts gets called.

The allocation is handled by methods in RuntimeEntrypoints. The naming scheme is (unresolved | resolved)New(array | scalar), e.g. unresolvedNewScalar or resolvedNewArray. You can navigate from there to MMTk which handles the actual allocation.

For the full details about the calls to the methods in RuntimeEntrypoints, look at the compilers (e.g. emit*new in the baseline compilers or ExpandRuntimeServices in the opt compiler).


Kind regards,

Erik Brangs

------------------------------------------------------------------------------
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