harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Dmitriev (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-4236) [drlvm][jit] SIGSEGV on OC4J startup
Date Thu, 26 Jul 2007 14:00:43 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-4236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12515700
] 

Sergey Dmitriev commented on HARMONY-4236:
------------------------------------------

As it turned out the problem was in selecting the appropriate reg
allocator (ra2 or ra3) depending on number of method operands.

Using binpack only starts OC4J just fine. So we have to tune the
threshhold between binpack and graph colouring.

-XX:jit.arg.codegen.regalloc.opnds=1700

Our measurements shows that opnds=1700 work well for OC4J start up.


> [drlvm][jit] SIGSEGV on OC4J startup
> ------------------------------------
>
>                 Key: HARMONY-4236
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4236
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Linux
>            Reporter: Sergey Dmitriev
>
> Oracle Application Server 10g (OC4J containers) startup fails with SIGSEGV.
> Java command line quote (VM related part):
> ~/jre/bin/java -Xem:server -Xno_parallel_jit -Xms1400M -Xmx1400M -Xss128K ...
> Java version:
> ] oracle@box
> ] ~/jre/bin/java -version
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or
its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r548279, (Jun 19 2007), Linux/ia32/gcc 3.3.3, release build
> http://harmony.apache.org
> Here is the stack trace:
> --------
> 07/06/19 15:48:21 Start process
> --------
> WARNING: Cannot cleanup application URLStreamHandlers.
> The GC did not provide gc_add_weak_root_set_entry()
> 07/06/19 11:49:07 Created MBeanServer with ID: UID[6cfacdfc:11343d08e50:-8000]:pbtmrte021:1
> 07/06/19 11:49:07 Created MBeanServer with ID: UID[6cfacdfc:11343d08e50:-7fff]:pbtmrte021:2
> SIGSEGV in VM code.
> Stack trace:
>   0: String_Pool::intern(String*) (??:-1)
>   1: vm_instantiate_cp_string_resolved(String*) (??:-1)
>   2: class_get_const_string_intern_addr (??:-1)
>   3: Jitrino::CompilationInterface::loadStringObject(Jitrino::MethodDesc*, unsigned int)
(??:-1)
>   4: .L2212 (??:-1)
>   5: Jitrino::Ia32::IRManager::resolveRuntimeInfo() (??:-1)
>   6: Jitrino::Ia32::CodeEmitter::runImpl() (??:-1)
>   7: Jitrino::Ia32::SessionAction::run() (??:-1)
>   8: Jitrino::runPipeline(Jitrino::CompilationContext*) (??:-1)
>   9: Jitrino::compileMethod(Jitrino::CompilationContext*) (??:-1)
>  10: Jitrino::Jitrino::CompileMethod(Jitrino::CompilationContext*) (??:-1)
>  11: JIT_compile_method_with_params (??:-1)
>  12: Dll_JIT::compile_method_with_params(void*, Method*, OpenMethodExecutionParams) (??:-1)
>  13: compile_do_compilation_jit(Method*, JIT*) (??:-1)
>  14: vm_compile_method (??:-1)
>  15: DrlEMImpl::compileMethod(Method*) (??:-1)
>  16: CompileMethod (??:-1)
>  17: compile_me(Method*) (??:-1)
>  18: 0x41AD1162  <Generated stub>
>  19: ?? (??:-1)
>      ...
>      ...
>      ...
>  25: java/lang/Thread.run()V (Thread.java:-1)
>  26: vm_invoke_native_array_stub (/export/harmony18/working_vm/vm/vmcore/src/util/ia32/base/invoke_native_stub_ia32.asm:41)
>  27: .L59 (??:-1)
>  28: DrlEMImpl::executeMethod(_jmethodID*, jvalue*, jvalue*) (??:-1)
>  29: ExecuteMethod (??:-1)
>  30: vm_execute_java_method_array(_jmethodID*, jvalue*, jvalue*) (??:-1)
>  31: call_method_no_ref_result(JNIEnv_External*, _jobject*, _jmethodID*, jvalue*, jvalue*,
int) (??:-1)
>  32: wrapper_proc (??:-1)
>  33: thread_start_proc (??:-1)
>  34: start_thread (??:-1)
>  35: clone (??:-1)
>  36: java/lang/Thread.runImpl()V (Thread.java:-1)
> <end of stack trace>

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


Mime
View raw message