Message10932
test.test_gc_jy used not to run under the regression test because it had no test_main() function. Now that is corrected, it reliably hangs the regression test in GCTests_Jy_Monitoring (either test).
I've skipped this test case for now so the test runs at the console, not under regrtest. (See https://hg.python.org/jython/file/tip/Lib/test/test_gc_jy.py#l785)
When hanging, the main thread dump (JVisualVM) looks like this:
"MainThread" prio=6 tid=0x0000000002513000 nid=0x133c in Object.wait() [0x000000000250b000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000000e0b18578> (a java.lang.Class for org.python.modules.gc$GCSentinel)
at java.lang.Object.wait(Object.java:503)
at org.python.modules.gc.waitForFinalizers(gc.java:2474)
- locked <0x00000000e0b18578> (a java.lang.Class for org.python.modules.gc$GCSentinel)
at org.python.modules.gc.syncCollect(gc.java:2151)
at org.python.modules.gc.collect_intern(gc.java:1953)
at org.python.modules.gc.collect(gc.java:1882)
at sun.reflect.GeneratedMethodAccessor107.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:186)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:204)
at org.python.core.PyObject.__call__(PyObject.java:464)
at org.python.core.PyObject.__call__(PyObject.java:468)
at test.test_gc_jy$py.test_monitor_status_after_delayed_finalization$122(~jython-trunk\dist\Lib\test\test_gc_jy.py:859)
at test.test_gc_jy$py.call_function(~jython-trunk\dist\Lib\test\test_gc_jy.py)
...
Locked ownable synchronizers:
- None |
|
Date |
User |
Action |
Args |
2016-09-04 07:31:58 | jeff.allen | set | recipients:
+ jeff.allen, stefan.richthofer |
2016-09-04 07:31:58 | jeff.allen | set | messageid: <1472974318.88.0.105047050232.issue2519@psf.upfronthosting.co.za> |
2016-09-04 07:31:58 | jeff.allen | link | issue2519 messages |
2016-09-04 07:31:57 | jeff.allen | create | |
|