You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Rustem Rafikov (JIRA)" <ji...@apache.org> on 2007/04/03 13:08:32 UTC
[jira] Created: (HARMONY-3558) [drlvm][winx64] drlvm crashes with
large pages enabled
[drlvm][winx64] 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: Windows 2003 server 64bit, DRLVM 64bit - build 20070330.
Reporter: Rustem Rafikov
DRLVM 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.
[jira] Updated: (HARMONY-3558) [drlvm][jit] drlvm crashes with
large pages enabled
Posted by "George Timoshenko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
George Timoshenko updated HARMONY-3558:
---------------------------------------
Attachment: HARMONY-3558.patch
the patch:
the int_ptr is removed from encoder, as it is never used.
the usage in Jet is corrected
> [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
> Attachments: HARMONY-3558.patch
>
>
> 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.
[jira] Updated: (HARMONY-3558) [drlvm][gcv5] drlvm crashes with
large pages enabled
Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gregory Shimansky updated HARMONY-3558:
---------------------------------------
Summary: [drlvm][gcv5] drlvm crashes with large pages enabled (was: [drlvm][winx64] drlvm crashes with large pages enabled )
> [drlvm][gcv5] 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
> Assigned To: Xiao-Feng Li
>
> 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.
[jira] Commented: (HARMONY-3558) [drlvm][jit] drlvm crashes with
large pages enabled
Posted by "Yu-Nan He (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12504752 ]
Yu-Nan He commented on HARMONY-3558:
------------------------------------
In my experiment, I cast "a" to unsigned int to work around. I also try "unsigned __int64", but it does not work, the b also was set to 0xffffffff80000000.
> [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.
[jira] Updated: (HARMONY-3558) [drlvm][winx64] drlvm crashes with
large pages enabled
Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gregory Shimansky updated HARMONY-3558:
---------------------------------------
Description:
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.
was:
DRLVM 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.
Environment:
winx64
was:
Windows 2003 server 64bit, DRLVM 64bit - build 20070330.
> [drlvm][winx64] 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.
[jira] Updated: (HARMONY-3558) [drlvm][jit] drlvm crashes with
large pages enabled
Posted by "Xiao-Feng Li (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xiao-Feng Li updated HARMONY-3558:
----------------------------------
Assignee: (was: Xiao-Feng Li)
Summary: [drlvm][jit] drlvm crashes with large pages enabled (was: [drlvm][gc] drlvm crashes with large pages enabled )
> [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.
[jira] Commented: (HARMONY-3558) [drlvm][jit] drlvm crashes with
large pages enabled
Posted by "George Timoshenko (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Commented: (HARMONY-3558) [drlvm][gc] drlvm crashes with
large pages enabled
Posted by "Yu-Nan He (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12504086 ]
Yu-Nan He commented on HARMONY-3558:
------------------------------------
Hi,
The exception is generated after encountering a wrong object address 0xffffffff8xxxxxxx in my machine. This is a JIT bug and it's caused by type cast.
Below is a piece of the code generation log of JET:
---------------------------------
;; 2) GETFIELD 32 {org/apache/harmony/kernel/vm/InternMap::elementData [Lorg/apache/harmony/kernel/vm/InternMap$Entry;}
;;>check.npe for GR1 - skipped
; mov(i32) gr3, [GR1+8]
; movP gr2, 0000000080000000
; add gr3, gr2
8B 53 08 48 B9 00 00 00 80 FF FF FF FF 48 01 CA
-----------------------------------
After code generation, it's expected that the value is 0x0000000080000000, but actually it's 0xffffffff80000000 in binary code.
The wrong function movp_impl() [jitrino/src/jet/enc_ia32.cpp]:
-----------------------
void Encoder::movp_impl(AR op0, const void *op1)
{
EncoderBase::Operands args;
args.add(devirt(op0));
#ifdef _EM64T_
args.add(EncoderBase::Operand(OpndSize_64, (::int_ptr)op1));
#else
args.add(EncoderBase::Operand(OpndSize_32, (::int_ptr)op1));
#endif
ip(EncoderBase::encode(ip(), Mnemonic_MOV, args));
}
------------------------
"int_ptr" is a signed type and in Operand() constructor the type of second parameter is "long long".
I modify the constructor and movp_impl() to an unsigned type. The bug disappears. (Both JET and server)
> [drlvm][gc] 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
> Assignee: Xiao-Feng Li
>
> 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.
[jira] Assigned: (HARMONY-3558) [drlvm][jit] drlvm crashes with
large pages enabled
Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Varlamov reassigned HARMONY-3558:
----------------------------------------
Assignee: Alexey Varlamov
> [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
> Assignee: Alexey Varlamov
> Attachments: HARMONY-3558.patch
>
>
> 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.
[jira] Commented: (HARMONY-3558) [drlvm][jit] drlvm crashes with
large pages enabled
Posted by "George Timoshenko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12504200 ]
George Timoshenko commented on HARMONY-3558:
--------------------------------------------
could you please check if POINTER64 is defined at the call of:
args.add(EncoderBase::Operand(OpndSize_64, (::int_ptr)op1));
I am asking because ::int_ptr is the same as "long long" (signed int64) when POINTER64 is defined...
> [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.
[jira] Commented: (HARMONY-3558) [drlvm][jit] drlvm crashes with
large pages enabled
Posted by "Yu-Nan He (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12504730 ]
Yu-Nan He commented on HARMONY-3558:
------------------------------------
Hi, maybe I did not explain it clearly. I mean the "::int_ptr (long long)" is a signed type, and a pointer (void*) cast to a signed type may cause this bug.
For example:
void* a = (void*) 0x80000000;
long long b =(long long) a;
then b = 0xffffffff80000000 on Win64.
> [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.
[jira] Resolved: (HARMONY-3558) [drlvm][jit] drlvm crashes with
large pages enabled
Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Varlamov resolved HARMONY-3558.
--------------------------------------
Resolution: Fixed
Applied the fix at revision: 582726, please verify it resolved the issue.
> [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
> Assignee: Alexey Varlamov
> Attachments: HARMONY-3558.patch
>
>
> 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.
[jira] Updated: (HARMONY-3558) [drlvm][gc] drlvm crashes with large
pages enabled
Posted by "Xiao-Feng Li (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xiao-Feng Li updated HARMONY-3558:
----------------------------------
Summary: [drlvm][gc] drlvm crashes with large pages enabled (was: [drlvm][gcv5] drlvm crashes with large pages enabled )
> [drlvm][gc] 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
> Assigned To: Xiao-Feng Li
>
> 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.
[jira] Assigned: (HARMONY-3558) [drlvm][winx64] drlvm crashes with
large pages enabled
Posted by "Xiao-Feng Li (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xiao-Feng Li reassigned HARMONY-3558:
-------------------------------------
Assignee: Xiao-Feng Li
> [drlvm][winx64] 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
> Assigned To: Xiao-Feng Li
>
> 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.