Since the test requires 1g of memory, should we use this tag?:
* @requires os.maxMemory >= 1g
Otherwise the test may fail on start if amount of memory is not sufficient.
On 12/04/2018 08:25, Alexey Ivanov wrote:
Please review the fix for jdk11:
When the JVM is run with limited amount of memory, initCubemap function
called from BufImg_SetupICM can return NULL. It can lead to a crash. It
usually happens when native memory is exhausted and malloc fails. In
this state, JVM itself is not stable.
Adding NULL-check can prevent the crash in this particular place.
However, if the app continues, since native memory is exhausted and
malloc fails, JVM can still crash in another place.
Thank you in advance.
Best regards, Sergey.