Re: Extending LuaJIT's memory limit to 4Gbytes.

  • From: Florian Weimer <fw@xxxxxxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Wed, 22 Aug 2012 21:07:52 +0200

* Dmitri Shubin:

>>> To support LuaJIT on Solaris 64-bit I had to do the similar thing --
>>> use custom page allocator for low 2GiB of address space.
>>> (mmap() on Solaris doesn't have MAP_32BIT flag and doesn't honor
>>> address hint)

>> According to various sources, it's fixed in Solaris 11.
>
> Thank you for pointing this out.
> I tested it and it indeed works.
> However we're currently use Solaris 10.

Hotspot has an algorithm to search for a suitable mapping.  Perhaps
you can describe the algorithm on the list, so that someone else can
implement it from scratch?

Other related posts: