[rvm-research] Error when using ArrayList in RVMThread

Erik Brangs <[email protected]> Sat, 9 Jun 2018 10:38:29 +0200
Newsgroups gmane.comp.java.jikes.rvm.devel
Message-ID <[email protected]>
Hi,

On 09.06.2018 10:15, Khaled Z Mahmoud wrote:
> I am getting the following error when using ArrayList#add in RVMThread.
> Any clues ??

Most parts of RVMThread are marked as @Uninterruptible so you can't use any code that causes allocations. For more information see the section "Uninterruptible Code" in the user guide.

Try building prototype-opt. That will use the baseline compiler which will warn about problems with uninterruptibility. If you get any warnings when building the boot image, you need to fix them.


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