Invalid ranges for options
David Holmes
david.holmes at oracle.com
Wed Jun 8 12:42:06 UTC 2016
Hi Goetz,
On 8/06/2016 8:27 PM, Lindenmaier, Goetz wrote:
> Hi,
>
> As SAP JVM is has some different default settings, TestOptionsWithRanges.java has
> detected two problematic ranges:
> java -XX:MaxJNILocalCapacity=1 -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1044
> java -XX:+SafepointTimeout -XX:SafepointTimeoutDelay=0
I don't see any problem with SafepointTimeoutDelay. If you set it to
zero there is no delay and it times out immediately. It may not be
useful, but then neither is a value of 1, 2, 3 ...
David
-----
> I think the ranges of MaxJNILocalCapacity and SafepointTimeoutDelay should be fixed.
> Should I open a bug for this?
>
> Best regards,
> Goetz.
>
>
> bin/java -XX:+SafepointTimeout -XX:SafepointTimeoutDelay=0
> # SafepointSynchronize::begin: Timeout detected:
> # SafepointSynchronize::begin: Timed out while waiting for threads to stop.
> # SafepointSynchronize::begin: Threads which did not reach the safepoint:
> # "C1 CompilerThread14" #20 daemon prio=9 os_prio=0 tid=0x00007efe7c01f800 nid=0x8784 runnable [0x0000000000000000]
> java.lang.Thread.State: RUNNABLE
> JavaThread state: _thread_in_native
>
>
> bin/java -XX:MaxJNILocalCapacity=1 -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1044
> JDWP exit error AGENT_ERROR_OUT_OF_MEMORY(188): PushLocalFrame: Unable to push JNI frame [util.c:1559]
> FATAL ERROR in native method: JDWP PushLocalFrame: Unable to push JNI frame, jvmtiError=AGENT_ERROR_OUT_OF_MEMORY(188)
> Current thread is 34829
> Dumping core ...
> Abort
>
More information about the hotspot-runtime-dev
mailing list