解决方案 »

  1.   

    Compilation events (10 events):
    Event: 4635.044 Thread 0x02b82c00 2078             java.text.RuleBasedBreakIterator::getNext (56 bytes)
    Event: 4635.044 Thread 0x02b82c00 nmethod 2078 0x00e52288 code [0x00e523c0, 0x00e524fc]
    Event: 4650.044 Thread 0x02b82c00 2079             javax.swing.text.BoxView::getWidth (34 bytes)
    Event: 4650.045 Thread 0x02b82c00 nmethod 2079 0x00e525c8 code [0x00e526c0, 0x00e52760]
    Event: 4687.046 Thread 0x02b82c00 2080             javax.swing.text.WrappedPlainView$WrappedLine::paint (196 bytes)
    Event: 4687.047 Thread 0x02b82c00 nmethod 2080 0x00e527c8 code [0x00e52970, 0x00e52dfc]
    Event: 4690.046 Thread 0x02b82c00 2081             javax.swing.text.WrappedPlainView$WrappedLine::breakLines (313 bytes)
    Event: 4690.048 Thread 0x02b82c00 nmethod 2081 0x00e53488 code [0x00e53630, 0x00e53cf4]
    Event: 4694.546 Thread 0x02b82c00 2082             java.text.RuleBasedBreakIterator::previous (103 bytes)
    Event: 4694.547 Thread 0x02b82c00 nmethod 2082 0x00e54288 code [0x00e54430, 0x00e547d4]GC Heap History (10 events):
    Event: 4763.925 GC heap before
    {Heap before GC invocations=12601 (full 251):
     def new generation   total 7680K, used 6856K [0x22ac0000, 0x23310000, 0x28010000)
      eden space 6848K, 100% used [0x22ac0000, 0x23170000, 0x23170000)
      from space 832K,   1% used [0x23170000, 0x23172340, 0x23240000)
      to   space 832K,   0% used [0x23240000, 0x23240000, 0x23310000)
     tenured generation   total 16812K, used 9690K [0x28010000, 0x2907b000, 0x32ac0000)
       the space 16812K,  57% used [0x28010000, 0x28986ab0, 0x28986c00, 0x2907b000)
     compacting perm gen  total 12288K, used 3847K [0x32ac0000, 0x336c0000, 0x36ac0000)
       the space 12288K,  31% used [0x32ac0000, 0x32e81f58, 0x32e82000, 0x336c0000)
        ro space 10240K,  42% used [0x36ac0000, 0x36eff150, 0x36eff200, 0x374c0000)
        rw space 12288K,  54% used [0x374c0000, 0x37b3fad8, 0x37b3fc00, 0x380c0000)
    Event: 4763.926 GC heap after
    Heap after GC invocations=12602 (full 251):
     def new generation   total 7680K, used 8K [0x22ac0000, 0x23310000, 0x28010000)
      eden space 6848K,   0% used [0x22ac0000, 0x22ac0000, 0x23170000)
      from space 832K,   1% used [0x23240000, 0x23242340, 0x23310000)
      to   space 832K,   0% used [0x23170000, 0x23170000, 0x23240000)
     tenured generation   total 16812K, used 9690K [0x28010000, 0x2907b000, 0x32ac0000)
       the space 16812K,  57% used [0x28010000, 0x28986ab0, 0x28986c00, 0x2907b000)
     compacting perm gen  total 12288K, used 3847K [0x32ac0000, 0x336c0000, 0x36ac0000)
       the space 12288K,  31% used [0x32ac0000, 0x32e81f58, 0x32e82000, 0x336c0000)
        ro space 10240K,  42% used [0x36ac0000, 0x36eff150, 0x36eff200, 0x374c0000)
        rw space 12288K,  54% used [0x374c0000, 0x37b3fad8, 0x37b3fc00, 0x380c0000)
    }
    Event: 4763.951 GC heap before
    {Heap before GC invocations=12602 (full 251):
     def new generation   total 7680K, used 6856K [0x22ac0000, 0x23310000, 0x28010000)
      eden space 6848K, 100% used [0x22ac0000, 0x23170000, 0x23170000)
      from space 832K,   1% used [0x23240000, 0x23242340, 0x23310000)
      to   space 832K,   0% used [0x23170000, 0x23170000, 0x23240000)
     tenured generation   total 16812K, used 9690K [0x28010000, 0x2907b000, 0x32ac0000)
       the space 16812K,  57% used [0x28010000, 0x28986ab0, 0x28986c00, 0x2907b000)
     compacting perm gen  total 12288K, used 3847K [0x32ac0000, 0x336c0000, 0x36ac0000)
       the space 12288K,  31% used [0x32ac0000, 0x32e81f58, 0x32e82000, 0x336c0000)
        ro space 10240K,  42% used [0x36ac0000, 0x36eff150, 0x36eff200, 0x374c0000)
        rw space 12288K,  54% used [0x374c0000, 0x37b3fad8, 0x37b3fc00, 0x380c0000)
    Event: 4763.952 GC heap after
    Heap after GC invocations=12603 (full 251):
     def new generation   total 7680K, used 4K [0x22ac0000, 0x23310000, 0x28010000)
      eden space 6848K,   0% used [0x22ac0000, 0x22ac0000, 0x23170000)
      from space 832K,   0% used [0x23170000, 0x23171310, 0x23240000)
      to   space 832K,   0% used [0x23240000, 0x23240000, 0x23310000)
     tenured generation   total 16812K, used 9690K [0x28010000, 0x2907b000, 0x32ac0000)
       the space 16812K,  57% used [0x28010000, 0x28986ab0, 0x28986c00, 0x2907b000)
     compacting perm gen  total 12288K, used 3847K [0x32ac0000, 0x336c0000, 0x36ac0000)
       the space 12288K,  31% used [0x32ac0000, 0x32e81f58, 0x32e82000, 0x336c0000)
        ro space 10240K,  42% used [0x36ac0000, 0x36eff150, 0x36eff200, 0x374c0000)
        rw space 12288K,  54% used [0x374c0000, 0x37b3fad8, 0x37b3fc00, 0x380c0000)
    }
    Event: 4763.977 GC heap before
    {Heap before GC invocations=12603 (full 251):
     def new generation   total 7680K, used 6852K [0x22ac0000, 0x23310000, 0x28010000)
      eden space 6848K, 100% used [0x22ac0000, 0x23170000, 0x23170000)
      from space 832K,   0% used [0x23170000, 0x23171310, 0x23240000)
      to   space 832K,   0% used [0x23240000, 0x23240000, 0x23310000)
     tenured generation   total 16812K, used 9690K [0x28010000, 0x2907b000, 0x32ac0000)
       the space 16812K,  57% used [0x28010000, 0x28986ab0, 0x28986c00, 0x2907b000)
     compacting perm gen  total 12288K, used 3847K [0x32ac0000, 0x336c0000, 0x36ac0000)
       the space 12288K,  31% used [0x32ac0000, 0x32e81f58, 0x32e82000, 0x336c0000)
        ro space 10240K,  42% used [0x36ac0000, 0x36eff150, 0x36eff200, 0x374c0000)
        rw space 12288K,  54% used [0x374c0000, 0x37b3fad8, 0x37b3fc00, 0x380c0000)
    Event: 4763.978 GC heap after
    Heap after GC invocations=12604 (full 251):
     def new generation   total 7680K, used 4K [0x22ac0000, 0x23310000, 0x28010000)
      eden space 6848K,   0% used [0x22ac0000, 0x22ac0000, 0x23170000)
      from space 832K,   0% used [0x23240000, 0x232413c0, 0x23310000)
      to   space 832K,   0% used [0x23170000, 0x23170000, 0x23240000)
     tenured generation   total 16812K, used 9690K [0x28010000, 0x2907b000, 0x32ac0000)
       the space 16812K,  57% used [0x28010000, 0x28986ab0, 0x28986c00, 0x2907b000)
     compacting perm gen  total 12288K, used 3847K [0x32ac0000, 0x336c0000, 0x36ac0000)
       the space 12288K,  31% used [0x32ac0000, 0x32e81f58, 0x32e82000, 0x336c0000)
        ro space 10240K,  42% used [0x36ac0000, 0x36eff150, 0x36eff200, 0x374c0000)
        rw space 12288K,  54% used [0x374c0000, 0x37b3fad8, 0x37b3fc00, 0x380c0000)
    }
    Event: 4763.990 GC heap before
    {Heap before GC invocations=12604 (full 251):
     def new generation   total 7680K, used 6852K [0x22ac0000, 0x23310000, 0x28010000)
      eden space 6848K, 100% used [0x22ac0000, 0x23170000, 0x23170000)
      from space 832K,   0% used [0x23240000, 0x232413c0, 0x23310000)
      to   space 832K,   0% used [0x23170000, 0x23170000, 0x23240000)
     tenured generation   total 16812K, used 9690K [0x28010000, 0x2907b000, 0x32ac0000)
       the space 16812K,  57% used [0x28010000, 0x28986ab0, 0x28986c00, 0x2907b000)
     compacting perm gen  total 12288K, used 3847K [0x32ac0000, 0x336c0000, 0x36ac0000)
       the space 12288K,  31% used [0x32ac0000, 0x32e81f58, 0x32e82000, 0x336c0000)
        ro space 10240K,  42% used [0x36ac0000, 0x36eff150, 0x36eff200, 0x374c0000)
        rw space 12288K,  54% used [0x374c0000, 0x37b3fad8, 0x37b3fc00, 0x380c0000)
    Event: 4763.990 GC heap after
    Heap after GC invocations=12605 (full 251):
     def new generation   total 7680K, used 8K [0x22ac0000, 0x23310000, 0x28010000)
      eden space 6848K,   0% used [0x22ac0000, 0x22ac0000, 0x23170000)
      from space 832K,   1% used [0x23170000, 0x231723b8, 0x23240000)
      to   space 832K,   0% used [0x23240000, 0x23240000, 0x23310000)
     tenured generation   total 16812K, used 9691K [0x28010000, 0x2907b000, 0x32ac0000)
       the space 16812K,  57% used [0x28010000, 0x28986c80, 0x28986e00, 0x2907b000)
     compacting perm gen  total 12288K, used 3847K [0x32ac0000, 0x336c0000, 0x36ac0000)
       the space 12288K,  31% used [0x32ac0000, 0x32e81f58, 0x32e82000, 0x336c0000)
        ro space 10240K,  42% used [0x36ac0000, 0x36eff150, 0x36eff200, 0x374c0000)
        rw space 12288K,  54% used [0x374c0000, 0x37b3fad8, 0x37b3fc00, 0x380c0000)
    }
    Event: 4764.000 GC heap before
    {Heap before GC invocations=12605 (full 251):
     def new generation   total 7680K, used 6856K [0x22ac0000, 0x23310000, 0x28010000)
      eden space 6848K, 100% used [0x22ac0000, 0x23170000, 0x23170000)
      from space 832K,   1% used [0x23170000, 0x231723b8, 0x23240000)
      to   space 832K,   0% used [0x23240000, 0x23240000, 0x23310000)
     tenured generation   total 16812K, used 9691K [0x28010000, 0x2907b000, 0x32ac0000)
       the space 16812K,  57% used [0x28010000, 0x28986c80, 0x28986e00, 0x2907b000)
     compacting perm gen  total 12288K, used 3847K [0x32ac0000, 0x336c0000, 0x36ac0000)
       the space 12288K,  31% used [0x32ac0000, 0x32e81f58, 0x32e82000, 0x336c0000)
        ro space 10240K,  42% used [0x36ac0000, 0x36eff150, 0x36eff200, 0x374c0000)
        rw space 12288K,  54% used [0x374c0000, 0x37b3fad8, 0x37b3fc00, 0x380c0000)
    Event: 4764.001 GC heap after
    Heap after GC invocations=12606 (full 251):
     def new generation   total 7680K, used 9K [0x22ac0000, 0x23310000, 0x28010000)
      eden space 6848K,   0% used [0x22ac0000, 0x22ac0000, 0x23170000)
      from space 832K,   1% used [0x23240000, 0x23242408, 0x23310000)
      to   space 832K,   0% used [0x23170000, 0x23170000, 0x23240000)
     tenured generation   total 16812K, used 9691K [0x28010000, 0x2907b000, 0x32ac0000)
       the space 16812K,  57% used [0x28010000, 0x28986c80, 0x28986e00, 0x2907b000)
     compacting perm gen  total 12288K, used 3847K [0x32ac0000, 0x336c0000, 0x36ac0000)
       the space 12288K,  31% used [0x32ac0000, 0x32e81f58, 0x32e82000, 0x336c0000)
        ro space 10240K,  42% used [0x36ac0000, 0x36eff150, 0x36eff200, 0x374c0000)
        rw space 12288K,  54% used [0x374c0000, 0x37b3fad8, 0x37b3fc00, 0x380c0000)
    }Deoptimization events (0 events):
    No events
      

  2.   

    Internal exceptions (10 events):
    Event: 4754.798 Thread 0x00978800 Threw 0x22c92900 at C:\jdk7u1_32P\jdk7u7\hotspot\src\share\vm\interpreter\linkResolver.cpp:891
    Event: 4754.824 Thread 0x00978800 Threw 0x22e95640 at C:\jdk7u1_32P\jdk7u7\hotspot\src\share\vm\interpreter\linkResolver.cpp:891
    Event: 4754.834 Thread 0x00978800 Threw 0x231266c0 at C:\jdk7u1_32P\jdk7u7\hotspot\src\share\vm\interpreter\linkResolver.cpp:891
    Event: 4754.843 Thread 0x00978800 Threw 0x22cb9910 at C:\jdk7u1_32P\jdk7u7\hotspot\src\share\vm\interpreter\linkResolver.cpp:891
    Event: 4763.540 Thread 0x00978800 Threw 0x22e00ed0 at C:\jdk7u1_32P\jdk7u7\hotspot\src\share\vm\interpreter\linkResolver.cpp:891
    Event: 4763.751 Thread 0x00978800 Threw 0x22c89a00 at C:\jdk7u1_32P\jdk7u7\hotspot\src\share\vm\interpreter\linkResolver.cpp:891
    Event: 4763.955 Thread 0x00978800 Threw 0x22b71808 at C:\jdk7u1_32P\jdk7u7\hotspot\src\share\vm\interpreter\linkResolver.cpp:891
    Event: 4763.979 Thread 0x00978800 Threw 0x22ae9de0 at C:\jdk7u1_32P\jdk7u7\hotspot\src\share\vm\interpreter\linkResolver.cpp:891
    Event: 4763.988 Thread 0x00978800 Threw 0x23056ae8 at C:\jdk7u1_32P\jdk7u7\hotspot\src\share\vm\interpreter\linkResolver.cpp:891
    Event: 4763.997 Thread 0x00978800 Threw 0x22f315c0 at C:\jdk7u1_32P\jdk7u7\hotspot\src\share\vm\interpreter\linkResolver.cpp:891Events (10 events):
    Event: 4763.925 Executing VM operation: GenCollectForAllocation
    Event: 4763.926 Executing VM operation: GenCollectForAllocation done
    Event: 4763.951 Executing VM operation: GenCollectForAllocation
    Event: 4763.952 Executing VM operation: GenCollectForAllocation done
    Event: 4763.977 Executing VM operation: GenCollectForAllocation
    Event: 4763.978 Executing VM operation: GenCollectForAllocation done
    Event: 4763.990 Executing VM operation: GenCollectForAllocation
    Event: 4763.990 Executing VM operation: GenCollectForAllocation done
    Event: 4764.000 Executing VM operation: GenCollectForAllocation
    Event: 4764.001 Executing VM operation: GenCollectForAllocation done
    Dynamic libraries:
    0x00400000 - 0x0042f000  C:\WINDOWS\system32\java.exe
    0x7c930000 - 0x7ca03000  C:\WINDOWS\system32\ntdll.dll
    0x7c800000 - 0x7c92d000  C:\WINDOWS\system32\kernel32.dll
    0x77f30000 - 0x77fdc000  C:\WINDOWS\system32\ADVAPI32.dll
    0x77c20000 - 0x77cc1000  C:\WINDOWS\system32\RPCRT4.dll
    0x76eb0000 - 0x76ec3000  C:\WINDOWS\system32\Secur32.dll
    0x77e10000 - 0x77ea0000  C:\WINDOWS\system32\USER32.dll
    0x77bd0000 - 0x77c19000  C:\WINDOWS\system32\GDI32.dll
    0x77cd0000 - 0x77dd3000  C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.3790.5190_x-ww_319264BE\COMCTL32.dll
    0x77b70000 - 0x77bca000  C:\WINDOWS\system32\msvcrt.dll
    0x77eb0000 - 0x77f02000  C:\WINDOWS\system32\SHLWAPI.dll
    0x76180000 - 0x7619d000  C:\WINDOWS\system32\IMM32.DLL
    0x7f000000 - 0x7f009000  C:\WINDOWS\system32\LPK.DLL
    0x74ae0000 - 0x74b45000  C:\WINDOWS\system32\USP10.dll
    0x78aa0000 - 0x78b5e000  C:\Program Files\Java\jre7\bin\msvcr100.dll
    0x6e750000 - 0x6ea9c000  C:\Program Files\Java\jre7\bin\client\jvm.dll
    0x71b10000 - 0x71b1b000  C:\WINDOWS\system32\WSOCK32.dll
    0x71b60000 - 0x71b77000  C:\WINDOWS\system32\WS2_32.dll
    0x71b50000 - 0x71b58000  C:\WINDOWS\system32\WS2HELP.dll
    0x769e0000 - 0x76a0a000  C:\WINDOWS\system32\WINMM.dll
    0x76ab0000 - 0x76abb000  C:\WINDOWS\system32\PSAPI.DLL
    0x6e6a0000 - 0x6e6ac000  C:\Program Files\Java\jre7\bin\verify.dll
    0x6d480000 - 0x6d4a0000  C:\Program Files\Java\jre7\bin\java.dll
    0x6e730000 - 0x6e743000  C:\Program Files\Java\jre7\bin\zip.dll
    0x6e490000 - 0x6e4a4000  C:\Program Files\Java\jre7\bin\net.dll
    0x6e4b0000 - 0x6e4bf000  C:\Program Files\Java\jre7\bin\nio.dll
    0x10000000 - 0x1000a000  C:\Program Files\Java\jre7\bin\win32com.dll
    0x6d000000 - 0x6d142000  C:\Program Files\Java\jre7\bin\awt.dll
    0x775f0000 - 0x7767c000  C:\WINDOWS\system32\OLEAUT32.dll
    0x774b0000 - 0x775ea000  C:\WINDOWS\system32\ole32.dll
    0x68000000 - 0x68035000  C:\WINDOWS\system32\rsaenh.dll
    0x75870000 - 0x7592d000  C:\WINDOWS\system32\USERENV.dll
    0x71ba0000 - 0x71bf7000  C:\WINDOWS\system32\netapi32.dll
    0x71a80000 - 0x71ac0000  C:\WINDOWS\System32\mswsock.dll
    0x76e30000 - 0x76e5b000  C:\WINDOWS\system32\DNSAPI.dll
    0x76ed0000 - 0x76ed7000  C:\WINDOWS\System32\winrnr.dll
    0x76e70000 - 0x76e9e000  C:\WINDOWS\system32\WLDAP32.dll
    0x76ee0000 - 0x76ee5000  C:\WINDOWS\system32\rasadhlp.dll
    0x03b60000 - 0x03b9d000  C:\Documents and Settings\Administrator\Local Settings\Temp\jna-Administrator\jna4269901578971978595.dll
    0x03ba0000 - 0x03bcc000  D:\MTCLane\IccReader_MingHua.dll
    0x69660000 - 0x696b7000  C:\WINDOWS\system32\hnetcfg.dll
    0x71a40000 - 0x71a48000  C:\WINDOWS\System32\wshtcpip.dll
    0x74430000 - 0x74480000  C:\WINDOWS\system32\MSCTF.dll
    0x75d60000 - 0x75d87000  C:\WINDOWS\system32\apphelp.dll
    0x4c510000 - 0x4c53e000  C:\WINDOWS\system32\msctfime.ime
    0x7ca10000 - 0x7d1ec000  C:\WINDOWS\system32\SHELL32.dll
    0x6e200000 - 0x6e225000  C:\Program Files\Java\jre7\bin\jpeg.dll
    0x6d270000 - 0x6d29a000  C:\Program Files\Java\jre7\bin\fontmanager.dll
    0x77680000 - 0x77703000  C:\WINDOWS\system32\CLBCatQ.DLL
    0x76f70000 - 0x770ca000  C:\WINDOWS\system32\COMRes.dll
    0x77b60000 - 0x77b68000  C:\WINDOWS\system32\VERSION.dll
    0x6e640000 - 0x6e671000  C:\Program Files\Java\jre7\bin\t2k.dll
    0x04150000 - 0x0415e000  C:\Program Files\按键精灵9\cfgdll.dll
    0x6d830000 - 0x6d8d8000  C:\WINDOWS\system32\DBGHELP.DLLVM Arguments:
    java_command: MTCLane.jar -Xms512m -Xmx1024m
    Launcher Type: SUN_STANDARDEnvironment Variables:
    JAVA_HOME=D:\Program Files\Java\jdk1.6.0_43
    CLASSPATH=C:\Program Files\TongTech\TLQ6.2\java\lib\tlqadapter.jar;.;.;D:\Program Files\Java\jdk1.6.0_43\lib;D:\Program Files\Java\jdk1.6.0_43\lib\tools.jar
    PATH=C:\Program Files\TongTech\TLQ6.2\samples\bin;C:\Program Files\TongTech\TLQ6.2\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\Program Files\Java\jdk1.6.0_43\bin;JAVA_HOME\jre\bin;D:\Program Files\TortoiseSVN\bin;C:\Program Files\VisualSVN Server\bin;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;C:\Documents and Settings\Administrator\Local Settings\Application Data\Kingsoft\WPS Office\9.1.0.4867\office6
    USERNAME=Administrator
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 21 Model 16 Stepping 1, AuthenticAMD---------------  S Y S T E M  ---------------OS: Windows Server 2003 family Build 3790 Service Pack 2CPU:total 4 (4 cores per cpu, 1 threads per core) family 21 model 16 stepping 1, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, mmxext, 3dnowpref, lzcnt, sse4a, tsc, tscinvbit, tscinvMemory: 4k page, physical 3632860k(2944348k free), swap 5554604k(5022100k free)vm_info: Java HotSpot(TM) Client VM (23.3-b01) for windows-x86 JRE (1.7.0_07-b11), built on Sep  7 2012 01:40:56 by "java_re" with unknown MS VC++:1600time: Sun Nov 23 13:27:40 2014
    elapsed time: 4764 seconds
      

  3.   

    你写的测试程序是swing程序还是一个后台应用?
      

  4.   

    我写的是swing程序,做压力测试的时候使用按键精灵模拟按键直接在程序上测试!
      

  5.   

    我写的是swing程序,做压力测试的时候使用按键精灵模拟按键直接在程序上测试!这个可能是jvm的bug, 你可以上报上去, 目前java7也不是很稳定, 存在一些bug;
      

  6.   

    而且我发现我在用jdk7环境来运行myeclipse/eclipse的时候, 当长时间没去操作电脑时就会出现这种情况