Crash using sun.misc.Unsafe.static

Krystal Mok rednaxelafx at gmail.com
Mon Jul 16 16:06:54 PDT 2012


Hi Remi,

Looks like it's a trap if you're running this on JDK6's HotSpot VM. If
you're running a debug build of the same VM, you should hit an assertion
before hitting the ShouldNotReachHere() part.

opto/type.cpp:2477
assert(o->is_java_object(), "must be java language object");

Even though the source code of JDK6u33 is not open sourced, you could try a
similar version of HotSpot VM from OpenJDK, namely the hsx/hsx20/baseline
branch, or jdk6/jdk6/hotspot. Make a fastdebug build and you should see the
assertion.

And you're right that this has to do with the PermGen removal project. The
difference comes from [1], which is a part of CR 7017732.
To be specific, before the 7017732, static fields are stored in the
instanceKlass of a Java class; an instanceKlass (or its enclosing
klassOopDesc to be exact) is not an Java object.
After 7017732, static fields are moved to the tail of java.lang.Class
instances, which are Java objects.

So to answer your question, you just shouldn't expect the the code to work
in JDK6/HotSpot.

[1]:
http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/diff/c7f3d0b4570f/src/share/vm/prims/unsafe.cpp

On Mon, Jul 16, 2012 at 9:11 PM, Rémi Forax <forax at univ-mlv.fr> wrote:

> Hi guys,
> the latest jdk6 (jdk6 update 33) fails hard in the compiler if I try to
> store the result of unsafe.staticFieldBase() in
> a static final field, i.e if it's considered as a constant.
> Neither recent jdk7 nor jdk8 crash, only jdk6 (it also failed with
> update 21 which is the oldest version I have).
>
> I think it doesn't crash with recent VM because the result of
> unsafe.staticFieldBase() is not a real object
> with jdk6 but is a real one with jdk7/jdk8 (because of permgen removal)
>
> Is this bug can be fixed or should I just do not do that ?
>
> cheers,
> Rémi
>
> package sun.misc;
>
> import java.lang.reflect.Field;
>
> public class UnsafeCrash {
>    private static int value = 1;
>
>    private static final Unsafe UNSAFE;
>    private static final Object STATIC_FIELD_BASE;
>    private static final long STATIC_FIELD_OFFSET;
>
>    static {
>      Field field;
>      try {
>        field = UnsafeCrash.class.getDeclaredField("value");
>      } catch (NoSuchFieldException e) {
>        throw new AssertionError(e);
>      }
>      Unsafe unsafe = Unsafe.getUnsafe();
>      UNSAFE = unsafe;
>      STATIC_FIELD_BASE = unsafe.staticFieldBase(field);
>      STATIC_FIELD_OFFSET = unsafe.staticFieldOffset(field);
>    }
>
>    private static int test() {
>      return UNSAFE.getInt(STATIC_FIELD_BASE, STATIC_FIELD_OFFSET);
>    }
>
>    public static void main(String[] args) {
>      int sum = 0;
>      for(int i=0; i<100000; i++) {
>        sum += test();
>      }
>      System.out.println(sum);
>    }
> }
>
>
> [forax at localhost src]$ /usr/jdk/jdk1.6.0_33/bin/java -Xbootclasspath/p:.
> sun.misc.UnsafeCrash
> #
> # A fatal error has been detected by the Java Runtime Environment:
> #
> #  Internal Error (type.cpp:2520), pid=26155, tid=139712055437056
> #  Error: ShouldNotReachHere()
> [thread 139712054384384 also had an error]#
>
> # JRE version: 6.0_33-b04
> # Java VM: Java HotSpot(TM) 64-Bit Server VM (20.8-b03 mixed mode
> linux-amd64 compressed oops)
> # An error report file with more information is saved as:
> # /home/forax/java/workspace/java-blog/src/hs_err_pid26155.log
> 100000
> #
> # If you would like to submit a bug report, please visit:
> #   http://java.sun.com/webapps/bugreport/crash.jsp
> #
> Aborted
>
> #
> # A fatal error has been detected by the Java Runtime Environment:
> #
> #  Internal Error (type.cpp:2520), pid=26155, tid=139712055437056
> #  Error: ShouldNotReachHere()
> #
> # JRE version: 6.0_33-b04
> # Java VM: Java HotSpot(TM) 64-Bit Server VM (20.8-b03 mixed mode
> linux-amd64 compressed oops)
> # If you would like to submit a bug report, please visit:
> #   http://java.sun.com/webapps/bugreport/crash.jsp
> #
>
> ---------------  T H R E A D  ---------------
>
> Current thread (0x00007f1160093800):  JavaThread "C2 CompilerThread0"
> daemon [_thread_in_native, id=26169,
> stack(0x00007f113f5f6000,0x00007f113f6f7000)]
>
> Stack: [0x00007f113f5f6000,0x00007f113f6f7000], sp=0x00007f113f6f3860,
> free space=1014k
> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,
> C=native code)
> V  [libjvm.so+0x85f725]  VMError::report_and_die()+0x265
> V  [libjvm.so+0x3e4dd6]  report_should_not_reach_here(char const*,
> int)+0x46
> V  [libjvm.so+0x830041]  TypeOopPtr::make_from_constant(ciObject*,
> bool)+0x2a1
> V  [libjvm.so+0x73bcd5]  Parse::push_constant(ciConstant, bool)+0x385
> V  [libjvm.so+0x73b628]  Parse::do_get_xxx(TypePtr const*, Node*,
> ciField*, bool)+0x3e8
> V  [libjvm.so+0x73b152]  Parse::do_field_access(bool, bool)+0x142
> V  [libjvm.so+0x73a926]  Parse::do_one_bytecode()+0x68d6
> V  [libjvm.so+0x72b07a]  Parse::do_one_block()+0x1aa
> V  [libjvm.so+0x728ad0]  Parse::do_all_blocks()+0x150
> V  [libjvm.so+0x72860b]  Parse::Parse(JVMState*, ciMethod*, float)+0x59b
> V  [libjvm.so+0x322064]  ParseGenerator::generate(JVMState*)+0x84
> V  [libjvm.so+0x39e7e2]  Compile::Compile(ciEnv*, C2Compiler*,
> ciMethod*, int, bool, bool)+0x762
> V  [libjvm.so+0x3217de]  C2Compiler::compile_method(ciEnv*, ciMethod*,
> int)+0x9e
> V  [libjvm.so+0x3a914a]
> CompileBroker::invoke_compiler_on_method(CompileTask*)+0x2ca
> V  [libjvm.so+0x3a8a35]  CompileBroker::compiler_thread_loop()+0x355
> V  [libjvm.so+0x8208c9]  compiler_thread_entry(JavaThread*, Thread*)+0x9
> V  [libjvm.so+0x819dd1]  JavaThread::run()+0x121
> V  [libjvm.so+0x7117af]  java_start(Thread*)+0x13f
>
>
> Current CompileTask:
> C2:     57   1      sun.misc.UnsafeCrash.test()I (13 bytes)
>
>
> ---------------  P R O C E S S  ---------------
>
> Java Threads: ( => current thread )
>    0x00007f1160098800 JavaThread "Low Memory Detector" daemon
> [_thread_blocked, id=26171, stack(0x00007f113f3f4000,0x00007f113f4f5000)]
>    0x00007f1160096000 JavaThread "C2 CompilerThread1" daemon
> [_thread_in_native, id=26170, stack(0x00007f113f4f5000,0x00007f113f5f6000)]
> =>0x00007f1160093800 JavaThread "C2 CompilerThread0" daemon
> [_thread_in_native, id=26169, stack(0x00007f113f5f6000,0x00007f113f6f7000)]
>    0x00007f1160091000 JavaThread "Signal Dispatcher" daemon
> [_thread_blocked, id=26168, stack(0x00007f113f6f7000,0x00007f113f7f8000)]
>    0x00007f1160074800 JavaThread "Finalizer" daemon [_thread_blocked,
> id=26167, stack(0x00007f113f7f8000,0x00007f113f8f9000)]
>    0x00007f1160072800 JavaThread "Reference Handler" daemon
> [_thread_blocked, id=26166, stack(0x00007f113f8f9000,0x00007f113f9fa000)]
>    0x00007f1160006800 JavaThread "main" [_thread_in_native_trans,
> id=26156, stack(0x00007f1164c12000,0x00007f1164d13000)]
>
> Other Threads:
>    0x00007f116006c000 VMThread [stack:
> 0x00007f113f9fa000,0x00007f113fafb000] [id=26165]
>    0x00007f11600ab000 WatcherThread [stack:
> 0x00007f113f2f3000,0x00007f113f3f4000] [id=26172]
>
> VM state:not at safepoint (normal execution)
>
> VM Mutex/Monitor currently owned by a thread: None
>
> Heap
>   PSYoungGen      total 36992K, used 634K [0x00000007d6b60000,
> 0x00000007d94a0000, 0x0000000800000000)
>    eden space 31744K, 2% used
> [0x00000007d6b60000,0x00000007d6bfeb90,0x00000007d8a60000)
>    from space 5248K, 0% used
> [0x00000007d8f80000,0x00000007d8f80000,0x00000007d94a0000)
>    to   space 5248K, 0% used
> [0x00000007d8a60000,0x00000007d8a60000,0x00000007d8f80000)
>   PSOldGen        total 84544K, used 0K [0x0000000784200000,
> 0x0000000789490000, 0x00000007d6b60000)
>    object space 84544K, 0% used
> [0x0000000784200000,0x0000000784200000,0x0000000789490000)
>   PSPermGen       total 21248K, used 2318K [0x000000077f000000,
> 0x00000007804c0000, 0x0000000784200000)
>    object space 21248K, 10% used
> [0x000000077f000000,0x000000077f243b48,0x00000007804c0000)
>
> Code Cache  [0x00007f115d000000, 0x00007f115d270000, 0x00007f1160000000)
>   total_blobs=164 nmethods=1 adapters=118 free_code_cache=49949696
> largest_free_block=11392
>
> Dynamic libraries:
> 40000000-40009000 r-xp 00000000 fd:00 1317646
> /usr/jdk/jdk1.6.0_33/bin/java
> 40108000-4010a000 rwxp 00008000 fd:00 1317646
> /usr/jdk/jdk1.6.0_33/bin/java
> 40df5000-40e16000 rwxp 00000000 00:00 0
> [heap]
> 77f000000-7804c0000 rwxp 00000000 00:00 0
> 7804c0000-784200000 rwxp 00000000 00:00 0
> 784200000-789490000 rwxp 00000000 00:00 0
> 789490000-7d6b60000 rwxp 00000000 00:00 0
> 7d6b60000-7d94a0000 rwxp 00000000 00:00 0
> 7d94a0000-800000000 rwxp 00000000 00:00 0
> 370bc00000-370bc20000 r-xp 00000000 fd:00 524413
> /usr/lib64/ld-2.15.so
> 370be1f000-370be20000 r-xp 0001f000 fd:00 524413
> /usr/lib64/ld-2.15.so
> 370be20000-370be21000 rwxp 00020000 fd:00 524413
> /usr/lib64/ld-2.15.so
> 370be21000-370be22000 rwxp 00000000 00:00 0
> 370c000000-370c1ac000 r-xp 00000000 fd:00 524461
> /usr/lib64/libc-2.15.so
> 370c1ac000-370c3ac000 ---p 001ac000 fd:00 524461
> /usr/lib64/libc-2.15.so
> 370c3ac000-370c3b0000 r-xp 001ac000 fd:00 524461
> /usr/lib64/libc-2.15.so
> 370c3b0000-370c3b2000 rwxp 001b0000 fd:00 524461
> /usr/lib64/libc-2.15.so
> 370c3b2000-370c3b7000 rwxp 00000000 00:00 0
> 370c400000-370c416000 r-xp 00000000 fd:00 524491
> /usr/lib64/libpthread-2.15.so
> 370c416000-370c616000 ---p 00016000 fd:00 524491
> /usr/lib64/libpthread-2.15.so
> 370c616000-370c617000 r-xp 00016000 fd:00 524491
> /usr/lib64/libpthread-2.15.so
> 370c617000-370c618000 rwxp 00017000 fd:00 524491
> /usr/lib64/libpthread-2.15.so
> 370c618000-370c61c000 rwxp 00000000 00:00 0
> 370c800000-370c8fa000 r-xp 00000000 fd:00 524518
> /usr/lib64/libm-2.15.so
> 370c8fa000-370caf9000 ---p 000fa000 fd:00 524518
> /usr/lib64/libm-2.15.so
> 370caf9000-370cafa000 r-xp 000f9000 fd:00 524518
> /usr/lib64/libm-2.15.so
> 370cafa000-370cafb000 rwxp 000fa000 fd:00 524518
> /usr/lib64/libm-2.15.so
> 370cc00000-370cc03000 r-xp 00000000 fd:00 524561
> /usr/lib64/libdl-2.15.so
> 370cc03000-370ce02000 ---p 00003000 fd:00 524561
> /usr/lib64/libdl-2.15.so
> 370ce02000-370ce03000 r-xp 00002000 fd:00 524561
> /usr/lib64/libdl-2.15.so
> 370ce03000-370ce04000 rwxp 00003000 fd:00 524561
> /usr/lib64/libdl-2.15.so
> 370d000000-370d007000 r-xp 00000000 fd:00 524659
> /usr/lib64/librt-2.15.so
> 370d007000-370d206000 ---p 00007000 fd:00 524659
> /usr/lib64/librt-2.15.so
> 370d206000-370d207000 r-xp 00006000 fd:00 524659
> /usr/lib64/librt-2.15.so
> 370d207000-370d208000 rwxp 00007000 fd:00 524659
> /usr/lib64/librt-2.15.so
> 3720c00000-3720c16000 r-xp 00000000 fd:00 525403
> /usr/lib64/libnsl-2.15.so
> 3720c16000-3720e15000 ---p 00016000 fd:00 525403
> /usr/lib64/libnsl-2.15.so
> 3720e15000-3720e16000 r-xp 00015000 fd:00 525403
> /usr/lib64/libnsl-2.15.so
> 3720e16000-3720e17000 rwxp 00016000 fd:00 525403
> /usr/lib64/libnsl-2.15.so
> 3720e17000-3720e19000 rwxp 00000000 00:00 0
> 7f1110000000-7f1110021000 rwxp 00000000 00:00 0
> 7f1110021000-7f1114000000 ---p 00000000 00:00 0
> 7f1114000000-7f1114021000 rwxp 00000000 00:00 0
> 7f1114021000-7f1118000000 ---p 00000000 00:00 0
> 7f1118000000-7f111805c000 rwxp 00000000 00:00 0
> 7f111805c000-7f111c000000 ---p 00000000 00:00 0
> 7f111c000000-7f111c021000 rwxp 00000000 00:00 0
> 7f111c021000-7f1120000000 ---p 00000000 00:00 0
> 7f1120000000-7f1120021000 rwxp 00000000 00:00 0
> 7f1120021000-7f1124000000 ---p 00000000 00:00 0
> 7f1125bd3000-7f112c000000 r-xp 00000000 fd:00 928733
> /usr/lib/locale/locale-archive
> 7f112c000000-7f112c021000 rwxp 00000000 00:00 0
> 7f112c021000-7f1130000000 ---p 00000000 00:00 0
> 7f1130000000-7f1130021000 rwxp 00000000 00:00 0
> 7f1130021000-7f1134000000 ---p 00000000 00:00 0
> 7f1134000000-7f1134021000 rwxp 00000000 00:00 0
> 7f1134021000-7f1138000000 ---p 00000000 00:00 0
> 7f1138000000-7f1138021000 rwxp 00000000 00:00 0
> 7f1138021000-7f113c000000 ---p 00000000 00:00 0
> 7f113f2f3000-7f113f2f4000 ---p 00000000 00:00 0
> 7f113f2f4000-7f113f3f4000 rwxp 00000000 00:00 0
> [stack:26172]
> 7f113f3f4000-7f113f3f7000 ---p 00000000 00:00 0
> 7f113f3f7000-7f113f4f5000 rwxp 00000000 00:00 0
> [stack:26171]
> 7f113f4f5000-7f113f4f8000 ---p 00000000 00:00 0
> 7f113f4f8000-7f113f5f6000 rwxp 00000000 00:00 0
> [stack:26170]
> 7f113f5f6000-7f113f5f9000 ---p 00000000 00:00 0
> 7f113f5f9000-7f113f6f7000 rwxp 00000000 00:00 0
> [stack:26169]
> 7f113f6f7000-7f113f6fa000 ---p 00000000 00:00 0
> 7f113f6fa000-7f113f7f8000 rwxp 00000000 00:00 0
> [stack:26168]
> 7f113f7f8000-7f113f7fb000 ---p 00000000 00:00 0
> 7f113f7fb000-7f113f8f9000 rwxp 00000000 00:00 0
> [stack:26167]
> 7f113f8f9000-7f113f8fc000 ---p 00000000 00:00 0
> 7f113f8fc000-7f113f9fa000 rwxp 00000000 00:00 0
> [stack:26166]
> 7f113f9fa000-7f113f9fb000 ---p 00000000 00:00 0
> 7f113f9fb000-7f1140000000 rwxp 00000000 00:00 0
> [stack:26165]
> 7f1140000000-7f1140021000 rwxp 00000000 00:00 0
> 7f1140021000-7f1144000000 ---p 00000000 00:00 0
> 7f1144000000-7f1144021000 rwxp 00000000 00:00 0
> 7f1144021000-7f1148000000 ---p 00000000 00:00 0
> 7f1148000000-7f1148021000 rwxp 00000000 00:00 0
> 7f1148021000-7f114c000000 ---p 00000000 00:00 0
> 7f114c000000-7f114c021000 rwxp 00000000 00:00 0
> 7f114c021000-7f1150000000 ---p 00000000 00:00 0
> 7f1150000000-7f1150021000 rwxp 00000000 00:00 0
> 7f1150021000-7f1154000000 ---p 00000000 00:00 0
> 7f1154000000-7f1154021000 rwxp 00000000 00:00 0
> 7f1154021000-7f1158000000 ---p 00000000 00:00 0
> 7f1158000000-7f1158021000 rwxp 00000000 00:00 0
> 7f1158021000-7f115c000000 ---p 00000000 00:00 0
> 7f115c0c9000-7f115c4cd000 rwxp 00000000 00:00 0
> 7f115c4cd000-7f115c664000 r-xs 0307a000 fd:00 1451207
> /usr/jdk/jdk1.6.0_33/jre/lib/rt.jar
> 7f115c664000-7f115c665000 ---p 00000000 00:00 0
> 7f115c665000-7f115c765000 rwxp 00000000 00:00 0
> [stack:26164]
> 7f115c765000-7f115c766000 ---p 00000000 00:00 0
> 7f115c766000-7f115c866000 rwxp 00000000 00:00 0
> [stack:26163]
> 7f115c866000-7f115c867000 ---p 00000000 00:00 0
> 7f115c867000-7f115c967000 rwxp 00000000 00:00 0
> [stack:26162]
> 7f115c967000-7f115c968000 ---p 00000000 00:00 0
> 7f115c968000-7f115ca68000 rwxp 00000000 00:00 0
> [stack:26161]
> 7f115ca68000-7f115ca69000 ---p 00000000 00:00 0
> 7f115ca69000-7f115cb69000 rwxp 00000000 00:00 0
> [stack:26160]
> 7f115cb69000-7f115cb6a000 ---p 00000000 00:00 0
> 7f115cb6a000-7f115cc6a000 rwxp 00000000 00:00 0
> [stack:26159]
> 7f115cc6a000-7f115cc6b000 ---p 00000000 00:00 0
> 7f115cc6b000-7f115cd95000 rwxp 00000000 00:00 0
> [stack:26158]
> 7f115cd95000-7f115d000000 rwxp 00000000 00:00 0
> 7f115d000000-7f115d270000 rwxp 00000000 00:00 0
> 7f115d270000-7f11600ad000 rwxp 00000000 00:00 0
> 7f11600ad000-7f1164000000 ---p 00000000 00:00 0
> 7f1164043000-7f116409f000 rwxp 00000000 00:00 0
> 7f116409f000-7f11640a0000 ---p 00000000 00:00 0
> 7f11640a0000-7f11641ab000 rwxp 00000000 00:00 0
> [stack:26157]
> 7f11641ab000-7f11641c9000 rwxp 00000000 00:00 0
> 7f11641c9000-7f11641d4000 rwxp 00000000 00:00 0
> 7f11641d4000-7f11641f2000 rwxp 00000000 00:00 0
> 7f11641f2000-7f116421c000 rwxp 00000000 00:00 0
> 7f116421c000-7f1164486000 rwxp 00000000 00:00 0
> 7f1164486000-7f116449c000 rwxp 00000000 00:00 0
> 7f116449c000-7f11645d1000 rwxp 00000000 00:00 0
> 7f11645d1000-7f11645dc000 rwxp 00000000 00:00 0
> 7f11645dc000-7f1164692000 rwxp 00000000 00:00 0
> 7f1164692000-7f11646a0000 r-xp 00000000 fd:00 1450497
> /usr/jdk/jdk1.6.0_33/jre/lib/amd64/libzip.so
> 7f11646a0000-7f11647a2000 ---p 0000e000 fd:00 1450497
> /usr/jdk/jdk1.6.0_33/jre/lib/amd64/libzip.so
> 7f11647a2000-7f11647a5000 rwxp 00010000 fd:00 1450497
> /usr/jdk/jdk1.6.0_33/jre/lib/amd64/libzip.so
> 7f11647a5000-7f11647a6000 rwxp 00000000 00:00 0
> 7f11647a6000-7f11647b2000 r-xp 00000000 fd:00 541082
> /usr/lib64/libnss_files-2.15.so
> 7f11647b2000-7f11649b1000 ---p 0000c000 fd:00 541082
> /usr/lib64/libnss_files-2.15.so
> 7f11649b1000-7f11649b2000 r-xp 0000b000 fd:00 541082
> /usr/lib64/libnss_files-2.15.so
> 7f11649b2000-7f11649b3000 rwxp 0000c000 fd:00 541082
> /usr/lib64/libnss_files-2.15.so
> 7f11649cc000-7f11649d4000 rwxs 00000000 fd:00 787099
> /tmp/hsperfdata_forax/26155
> 7f11649d4000-7f11649fd000 r-xp 00000000 fd:00 1450510
> /usr/jdk/jdk1.6.0_33/jre/lib/amd64/libjava.so
> 7f11649fd000-7f1164afc000 ---p 00029000 fd:00 1450510
> /usr/jdk/jdk1.6.0_33/jre/lib/amd64/libjava.so
> 7f1164afc000-7f1164b03000 rwxp 00028000 fd:00 1450510
> /usr/jdk/jdk1.6.0_33/jre/lib/amd64/libjava.so
> 7f1164b03000-7f1164b10000 r-xp 00000000 fd:00 1450492
> /usr/jdk/jdk1.6.0_33/jre/lib/amd64/libverify.so
> 7f1164b10000-7f1164c0f000 ---p 0000d000 fd:00 1450492
> /usr/jdk/jdk1.6.0_33/jre/lib/amd64/libverify.so
> 7f1164c0f000-7f1164c12000 rwxp 0000c000 fd:00 1450492
> /usr/jdk/jdk1.6.0_33/jre/lib/amd64/libverify.so
> 7f1164c12000-7f1164c15000 ---p 00000000 00:00 0
> 7f1164c15000-7f1164d13000 rwxp 00000000 00:00 0
> [stack:26156]
> 7f1164d13000-7f116562e000 r-xp 00000000 fd:00 1450517
> /usr/jdk/jdk1.6.0_33/jre/lib/amd64/server/libjvm.so
> 7f116562e000-7f116572f000 ---p 0091b000 fd:00 1450517
> /usr/jdk/jdk1.6.0_33/jre/lib/amd64/server/libjvm.so
> 7f116572f000-7f11658e4000 rwxp 0091c000 fd:00 1450517
> /usr/jdk/jdk1.6.0_33/jre/lib/amd64/server/libjvm.so
> 7f11658e4000-7f1165921000 rwxp 00000000 00:00 0
> 7f1165921000-7f1165928000 r-xp 00000000 fd:00 1450482
> /usr/jdk/jdk1.6.0_33/jre/lib/amd64/jli/libjli.so
> 7f1165928000-7f1165a29000 ---p 00007000 fd:00 1450482
> /usr/jdk/jdk1.6.0_33/jre/lib/amd64/jli/libjli.so
> 7f1165a29000-7f1165a2b000 rwxp 00008000 fd:00 1450482
> /usr/jdk/jdk1.6.0_33/jre/lib/amd64/jli/libjli.so
> 7f1165a2b000-7f1165a2c000 rwxp 00000000 00:00 0
> 7f1165a4b000-7f1165a4c000 rwxp 00000000 00:00 0
> 7f1165a4c000-7f1165a4d000 r-xp 00000000 00:00 0
> 7f1165a4d000-7f1165a4e000 rwxp 00000000 00:00 0
> 7fff12b9a000-7fff12bbb000 rwxp 00000000 00:00 0
> [stack]
> 7fff12bff000-7fff12c00000 r-xp 00000000 00:00 0
> [vdso]
> ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0
> [vsyscall]
>
> VM Arguments:
> jvm_args: -Xbootclasspath/p:.
> java_command: sun.misc.UnsafeCrash
> Launcher Type: SUN_STANDARD
>
> Environment Variables:
> JAVA_HOME=/usr/java
>
> PATH=/home/forax/bin:/usr/java/bin:ANT_HOME/bin:/home/forax/bin:/usr/java/bin:ANT_HOME/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:.:/home/forax/bin:.
> USERNAME=forax
>
> LD_LIBRARY_PATH=/usr/jdk/jdk1.6.0_33/jre/lib/amd64/server:/usr/jdk/jdk1.6.0_33/jre/lib/amd64:/usr/jdk/jdk1.6.0_33/jre/../lib/amd64
> SHELL=/bin/bash
> DISPLAY=:0
>
> Signal Handlers:
> SIGSEGV: [libjvm.so+0x860350], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
> SIGBUS: [libjvm.so+0x860350], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
> SIGFPE: [libjvm.so+0x70efb0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
> SIGPIPE: [libjvm.so+0x70efb0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
> SIGXFSZ: [libjvm.so+0x70efb0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
> SIGILL: [libjvm.so+0x70efb0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
> SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
> SIGUSR2: [libjvm.so+0x711de0], sa_mask[0]=0x00000000, sa_flags=0x10000004
> SIGHUP: [libjvm.so+0x7119e0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
> SIGINT: [libjvm.so+0x7119e0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
> SIGTERM: [libjvm.so+0x7119e0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
> SIGQUIT: [libjvm.so+0x7119e0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
>
>
> ---------------  S Y S T E M  ---------------
>
> OS:Fedora release 17 (Beefy Miracle)
>
> uname:Linux 3.4.4-5.fc17.x86_64 #1 SMP Thu Jul 5 20:20:59 UTC 2012 x86_64
> libc:glibc 2.15 NPTL 2.15
> rlimit: STACK 8192k, CORE 0k, NPROC 1024, NOFILE 4096, AS infinity
> load average:0.66 0.84 0.86
>
> /proc/meminfo:
> MemTotal:        8111160 kB
> MemFree:         2707952 kB
> Buffers:          403496 kB
> Cached:          2287500 kB
> SwapCached:            0 kB
> Active:          3194044 kB
> Inactive:        1702076 kB
> Active(anon):    2209972 kB
> Inactive(anon):     4480 kB
> Active(file):     984072 kB
> Inactive(file):  1697596 kB
> Unevictable:        3512 kB
> Mlocked:            3512 kB
> SwapTotal:      10223612 kB
> SwapFree:       10223612 kB
> Dirty:               116 kB
> Writeback:             0 kB
> AnonPages:       2202480 kB
> Mapped:           240744 kB
> Shmem:              7068 kB
> Slab:             261100 kB
> SReclaimable:     224240 kB
> SUnreclaim:        36860 kB
> KernelStack:        4512 kB
> PageTables:        38108 kB
> NFS_Unstable:          0 kB
> Bounce:                0 kB
> WritebackTmp:          0 kB
> CommitLimit:    14279192 kB
> Committed_AS:    4654596 kB
> VmallocTotal:   34359738367 kB
> VmallocUsed:      169372 kB
> VmallocChunk:   34359555724 kB
> HardwareCorrupted:     0 kB
> AnonHugePages:   1294336 kB
> HugePages_Total:       0
> HugePages_Free:        0
> HugePages_Rsvd:        0
> HugePages_Surp:        0
> Hugepagesize:       2048 kB
> DirectMap4k:      387452 kB
> DirectMap2M:     7933952 kB
>
>
> CPU:total 8 (4 cores per cpu, 2 threads per core) family 6 model 30
> stepping 5, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1,
> sse4.2, popcnt, ht
>
> /proc/cpuinfo:
> processor    : 0
> vendor_id    : GenuineIntel
> cpu family    : 6
> model        : 30
> model name    : Intel(R) Core(TM) i7 CPU       Q 840  @ 1.87GHz
> stepping    : 5
> microcode    : 0x5
> cpu MHz        : 1199.000
> cache size    : 8192 KB
> physical id    : 0
> siblings    : 8
> core id        : 0
> cpu cores    : 4
> apicid        : 0
> initial apicid    : 0
> fpu        : yes
> fpu_exception    : yes
> cpuid level    : 11
> wp        : yes
> flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
> cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall
> nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology
> nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3
> cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida dts tpr_shadow vnmi
> flexpriority ept vpid
> bogomips    : 3724.10
> clflush size    : 64
> cache_alignment    : 64
> address sizes    : 36 bits physical, 48 bits virtual
> power management:
>
> processor    : 1
> vendor_id    : GenuineIntel
> cpu family    : 6
> model        : 30
> model name    : Intel(R) Core(TM) i7 CPU       Q 840  @ 1.87GHz
> stepping    : 5
> microcode    : 0x5
> cpu MHz        : 1199.000
> cache size    : 8192 KB
> physical id    : 0
> siblings    : 8
> core id        : 1
> cpu cores    : 4
> apicid        : 2
> initial apicid    : 2
> fpu        : yes
> fpu_exception    : yes
> cpuid level    : 11
> wp        : yes
> flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
> cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall
> nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology
> nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3
> cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida dts tpr_shadow vnmi
> flexpriority ept vpid
> bogomips    : 3724.10
> clflush size    : 64
> cache_alignment    : 64
> address sizes    : 36 bits physical, 48 bits virtual
> power management:
>
> processor    : 2
> vendor_id    : GenuineIntel
> cpu family    : 6
> model        : 30
> model name    : Intel(R) Core(TM) i7 CPU       Q 840  @ 1.87GHz
> stepping    : 5
> microcode    : 0x5
> cpu MHz        : 1199.000
> cache size    : 8192 KB
> physical id    : 0
> siblings    : 8
> core id        : 2
> cpu cores    : 4
> apicid        : 4
> initial apicid    : 4
> fpu        : yes
> fpu_exception    : yes
> cpuid level    : 11
> wp        : yes
> flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
> cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall
> nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology
> nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3
> cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida dts tpr_shadow vnmi
> flexpriority ept vpid
> bogomips    : 3724.10
> clflush size    : 64
> cache_alignment    : 64
> address sizes    : 36 bits physical, 48 bits virtual
> power management:
>
> processor    : 3
> vendor_id    : GenuineIntel
> cpu family    : 6
> model        : 30
> model name    : Intel(R) Core(TM) i7 CPU       Q 840  @ 1.87GHz
> stepping    : 5
> microcode    : 0x5
> cpu MHz        : 1199.000
> cache size    : 8192 KB
> physical id    : 0
> siblings    : 8
> core id        : 3
> cpu cores    : 4
> apicid        : 6
> initial apicid    : 6
> fpu        : yes
> fpu_exception    : yes
> cpuid level    : 11
> wp        : yes
> flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
> cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall
> nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology
> nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3
> cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida dts tpr_shadow vnmi
> flexpriority ept vpid
> bogomips    : 3724.10
> clflush size    : 64
> cache_alignment    : 64
> address sizes    : 36 bits physical, 48 bits virtual
> power management:
>
> processor    : 4
> vendor_id    : GenuineIntel
> cpu family    : 6
> model        : 30
> model name    : Intel(R) Core(TM) i7 CPU       Q 840  @ 1.87GHz
> stepping    : 5
> microcode    : 0x5
> cpu MHz        : 1199.000
> cache size    : 8192 KB
> physical id    : 0
> siblings    : 8
> core id        : 0
> cpu cores    : 4
> apicid        : 1
> initial apicid    : 1
> fpu        : yes
> fpu_exception    : yes
> cpuid level    : 11
> wp        : yes
> flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
> cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall
> nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology
> nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3
> cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida dts tpr_shadow vnmi
> flexpriority ept vpid
> bogomips    : 3724.10
> clflush size    : 64
> cache_alignment    : 64
> address sizes    : 36 bits physical, 48 bits virtual
> power management:
>
> processor    : 5
> vendor_id    : GenuineIntel
> cpu family    : 6
> model        : 30
> model name    : Intel(R) Core(TM) i7 CPU       Q 840  @ 1.87GHz
> stepping    : 5
> microcode    : 0x5
> cpu MHz        : 1867.000
> cache size    : 8192 KB
> physical id    : 0
> siblings    : 8
> core id        : 1
> cpu cores    : 4
> apicid        : 3
> initial apicid    : 3
> fpu        : yes
> fpu_exception    : yes
> cpuid level    : 11
> wp        : yes
> flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
> cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall
> nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology
> nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3
> cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida dts tpr_shadow vnmi
> flexpriority ept vpid
> bogomips    : 3724.10
> clflush size    : 64
> cache_alignment    : 64
> address sizes    : 36 bits physical, 48 bits virtual
> power management:
>
> processor    : 6
> vendor_id    : GenuineIntel
> cpu family    : 6
> model        : 30
> model name    : Intel(R) Core(TM) i7 CPU       Q 840  @ 1.87GHz
> stepping    : 5
> microcode    : 0x5
> cpu MHz        : 1867.000
> cache size    : 8192 KB
> physical id    : 0
> siblings    : 8
> core id        : 2
> cpu cores    : 4
> apicid        : 5
> initial apicid    : 5
> fpu        : yes
> fpu_exception    : yes
> cpuid level    : 11
> wp        : yes
> flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
> cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall
> nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology
> nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3
> cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida dts tpr_shadow vnmi
> flexpriority ept vpid
> bogomips    : 3724.10
> clflush size    : 64
> cache_alignment    : 64
> address sizes    : 36 bits physical, 48 bits virtual
> power management:
>
> processor    : 7
> vendor_id    : GenuineIntel
> cpu family    : 6
> model        : 30
> model name    : Intel(R) Core(TM) i7 CPU       Q 840  @ 1.87GHz
> stepping    : 5
> microcode    : 0x5
> cpu MHz        : 1199.000
> cache size    : 8192 KB
> physical id    : 0
> siblings    : 8
> core id        : 3
> cpu cores    : 4
> apicid        : 7
> initial apicid    : 7
> fpu        : yes
> fpu_exception    : yes
> cpuid level    : 11
> wp        : yes
> flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
> cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall
> nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology
> nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3
> cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida dts tpr_shadow vnmi
> flexpriority ept vpid
> bogomips    : 3724.10
> clflush size    : 64
> cache_alignment    : 64
> address sizes    : 36 bits physical, 48 bits virtual
> power management:
>
>
>
> Memory: 4k page, physical 8111160k(2707952k free), swap
> 10223612k(10223612k free)
>
> vm_info: Java HotSpot(TM) 64-Bit Server VM (20.8-b03) for linux-amd64
> JRE (1.6.0_33-b04), built on Jun 21 2012 16:28:12 by "java_re" with gcc
> 3.2.2 (SuSE Linux)
>
> time: Mon Jul 16 14:57:38 2012
> elapsed time: 0 seconds
>
> _______________________________________________
> mlvm-dev mailing list
> mlvm-dev at openjdk.java.net
> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20120717/92524d1d/attachment-0001.html 


More information about the mlvm-dev mailing list