You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Li-Gang Wang (JIRA)" <ji...@apache.org> on 2007/08/01 04:31:53 UTC

[jira] Updated: (HARMONY-4456) [drlvm][gc_gen] intermittent assertion in pool_put_entry()

     [ https://issues.apache.org/jira/browse/HARMONY-4456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Li-Gang Wang updated HARMONY-4456:
----------------------------------

    Attachment: 01_finref.patch

01_finref.patch fixes a potential source of this problem.

> [drlvm][gc_gen] intermittent assertion in pool_put_entry()
> ----------------------------------------------------------
>
>                 Key: HARMONY-4456
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4456
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Alexey Varlamov
>            Assignee: Xiao-Feng Li
>         Attachments: 01_finref.patch
>
>
> Kernel tests intermittently failed on Linux32 on JET with the following trace:
>     [java]     [junit] java: /export/users/cc/cc-common/build/checkouts/drlvm/vm/gc_gen/src/utils/sync_pool.h:43: void pool_put_entry(Pool*, void*): Assertion `value' failed.
>      [java]     [junit] SIGABRT in VM code.
>      [java]     [junit] Stack trace:
>      [java]     [junit]   0: ?? (??:-1)
>      [java]     [junit]   1: abort (??:-1)
>      [java]     [junit]   2: __assert_fail (??:-1)
>      [java]     [junit]   3: pool_put_entry(Sync_Stack*, void*) (/export/users/cc/cc-common/build/checkouts/drlvm/vm/gc_gen/src/utils/sync_pool.h:44)
>      [java]     [junit]   4: gc_set_obj_with_fin(GC*) (/export/users/cc/cc-common/build/checkouts/drlvm/vm/gc_gen/src/finalizer_weakref/finalizer_weakref_metadata.cpp:192)
>      [java]     [junit]   5: gc_reclaim_heap(GC*, unsigned int) (/export/users/cc/cc-common/build/checkouts/drlvm/vm/gc_gen/src/common/gc_common.cpp:302)
>      [java]     [junit]   6: fspace_alloc(unsigned int, Allocator*) (/export/users/cc/cc-common/build/checkouts/drlvm/vm/gc_gen/src/trace_forward/fspace_alloc.cpp:66)
>      [java]     [junit]   7: nos_alloc(unsigned int, Allocator*) (/export/users/cc/cc-common/build/checkouts/drlvm/vm/gc_gen/src/gen/gen.cpp:280)
>      [java]     [junit]   8: gc_alloc (/export/users/cc/cc-common/build/checkouts/drlvm/vm/gc_gen/src/thread/mutator_alloc.cpp:79)
>      [java]     [junit]   9: vm_alloc_and_report_ti(unsigned int, unsigned int, void*, Class*) (/export/users/cc/cc-common/build/checkouts/drlvm/vm/vmcore/src/jvmti/jvmti_event.cpp:1359)
>      [java]     [junit]  10: Class::allocate_instance() (/export/users/cc/cc-common/build/checkouts/drlvm/vm/vmcore/src/class_support/Class.cpp:476)
>      [java]     [junit]  11: ClassLoader::AllocateAndReportInstance(Global_Env const*, Class*) (/export/users/cc/cc-common/build/checkouts/drlvm/vm/vmcore/src/class_support/classloader.cpp:859)
>      [java]     [junit]  12: ClassLoader::NewClass(Global_Env const*, String const*) (/export/users/cc/cc-common/build/checkouts/drlvm/vm/vmcore/src/class_support/classloader.cpp:218)
>      [java]     [junit]  13: ClassLoader::DefineClass(Global_Env*, char const*, unsigned char*, unsigned int, unsigned int, String const**) (/export/users/cc/cc-common/build/checkouts/drlvm/vm/vmcore/src/class_support/classloader.cpp:273)
>      [java]     [junit]  14: BootstrapClassLoader::LoadFromJarFile(JarFile*, char const*, String const*, bool*) (/export/users/cc/cc-common/build/checkouts/drlvm/vm/vmcore/src/class_support/classloader.cpp:1808)
>      [java]     [junit]  15: BootstrapClassLoader::LoadFromFile(String const*) (/export/users/cc/cc-common/build/checkouts/drlvm/vm/vmcore/src/class_support/classloader.cpp:1703)
>      [java]     [junit]  16: BootstrapClassLoader::DoLoadClass(Global_Env*, String const*) (/export/users/cc/cc-common/build/checkouts/drlvm/vm/vmcore/src/class_support/classloader.cpp:1447)
>      [java]     [junit]  17: ClassLoader::LoadClass(Global_Env*, String const*) (/export/users/cc/cc-common/build/checkouts/drlvm/vm/vmcore/src/class_support/classloader.cpp:1402)
>      [java]     [junit]  18: ClassLoader::LoadVerifyAndPrepareClass(Global_Env*, String const*) (/export/users/cc/cc-common/build/checkouts/drlvm/vm/vmcore/src/class_support/classloader.cpp:367)
>      [java]     [junit]  19: Objects_To_Finalize::is_class_ignored(Class*) (/export/users/cc/cc-common/build/checkouts/drlvm/vm/vmcore/src/init/finalize.cpp:297)
>      [java]     [junit]  20: Objects_To_Finalize::do_finalization(int) (/export/users/cc/cc-common/build/checkouts/drlvm/vm/vmcore/src/init/finalize.cpp:502)
>      [java]     [junit]  21: vm_do_finalization(int) (/export/users/cc/cc-common/build/checkouts/drlvm/vm/vmcore/src/init/finalize.cpp:630)
>      [java]     [junit]  22: finalizer_thread_func (/export/users/cc/cc-common/build/checkouts/drlvm/vm/vmcore/src/init/finalizer_thread.cpp:241)
>      [java]     [junit]  23: thread_start_proc (/export/users/cc/cc-common/build/checkouts/drlvm/vm/thread/src/thread_native_basic.c:729)
>      [java]     [junit]  24: start_thread (??:-1)
>      [java]     [junit]  25: clone (??:-1)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.