harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Volosyuk" <ivan.volos...@gmail.com>
Subject [drlvm][em64t][jitrino] jitrino crashes with heap size > 2 Gb
Date Thu, 25 Jan 2007 13:45:39 GMT
Hi All,

There is such problem for quite a while:
http://issues.apache.org/jira/browse/HARMONY-2881

Running VM with heap size 2.5Gb works fine on EM64T using interpreter
but it crashes if using jitrino. It seems that somewhere signed values
are used instead of unsigned ones or vice versa. Here is a simple test
which fails. Use -verbose:gc to see if it works or not. When a few GCs
passed then the test works fine for you.

public class Test {
    public static void main(String[] args) {
        while (true) {
            byte[] b = new byte[10240];
        }
    }
}

Here is an output from the test:
==============
lnx_em64t_gcc_debug/deploy/jdk/jre/bin/java -verbose:gc -Xmx:2500m
-Xms2500m Test
Negative or invalid heap size. Default value will be used!
max heap size is too small: 0
min heap size is larger then max
GC v4.1  (debug)
GC type = 0
GC will use adaptive algorithm selection
min heap size 2500 mb
max heap size 2500 mb
GC use small pages

Segmentation fault
==============

First message about invalid heap size is displayed by
'vmcore/src/init/parse_arguments.cpp'. Looks like parsing code is
incorrect here.

-- 
Ivan
Intel Enterprise Solutions Software Division

Mime
View raw message