You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "George Timoshenko (JIRA)" <ji...@apache.org> on 2007/07/11 10:22:04 UTC
[jira] Commented: (HARMONY-3558) [drlvm][jit] drlvm crashes with
large pages enabled
[ https://issues.apache.org/jira/browse/HARMONY-3558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12511689 ]
George Timoshenko commented on HARMONY-3558:
--------------------------------------------
the bug here is caused by wrong definition and future use of 'int_ptr'
in Jet scope in enc.h it is defined as a POINTER_SIZE_SINT (that is correct IMO)
but in encoder in enc_defs.h we can see:
#ifdef _EM64T_
........
#else
....
typedef long int_ptr;
....
#endif
ENCODER_NAMESPACE_START
/**
* 'int_ptr' is a signed integer type which has the
* same size as a pointer on the target platform.
* Luckily, the long type serves as desired.
*/
typedef long int_ptr;
as we ask '::int_ptr' it is taken from the global scope , not from the Jet's one.
> [drlvm][jit] drlvm crashes with large pages enabled
> ----------------------------------------------------
>
> Key: HARMONY-3558
> URL: https://issues.apache.org/jira/browse/HARMONY-3558
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Environment: winx64
> Reporter: Rustem Rafikov
>
> DRLVM 64bit build 20070330 crashes both with gcv4.1 and gcv5 if using large pages with large enough heap size.
> Details:
> 1. GC4.1:
> VM crashes if heap size requested > ~900M and works otherwise. It crashes with:
> win64-20070330/bin/java.exe -Xms1024m -Xmx1024m -Xem:server -XX:gc.lp=true -Xverbose:gc.lp -c
> p ./jbb.jar;./check.jar spec.jbb.JBBmain -propfile SPECjbb.props
> gc.lp: large pages are allocated
> java/lang/ExceptionInInitializerError : (null)
> HMYEXEL062E Internal VM error: Failed to create Java VM
> FAILED to invoke JVM.
> 2. GCv5:
> Due to a bug in gcv5 parsing parameters functtion yuo should specify -XX:gc.use_large_page=true -XX:gc.large_page=true
> Command line:
> win64-20070330/bin/java.exe -Xem:server -XX:vm.dlls=gc_gen.dll -XX:gc.use_large_page=true -XX:gc.large_page=true -X
> s1500m -Xmx1500m -cp ./jbb.jar;./check.jar spec.jbb.JBBmain -propfile SPECjbb.props.short
> it crashes with the message:
> java/lang/ExceptionInInitializerError : (null)
> HMYEXEL062E Internal VM error: Failed to create Java VM
> FAILED to invoke JVM.
> GC use large pages.
> So, in the both cases there is the messages that large pages are allocated.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.