java虚拟机报错(分多呢,求解答)

iywang123 2015-10-25 03:18:35
服务器会突然崩溃
[CodeBlob (0x00002aaaab2b4dd0)]
Framesize: 0
BufferBlob (0x00002aaaab2b4dd0) used for StubRoutines (2)
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (sharedRuntime.cpp:834), pid=10396, tid=1135847744
# fatal error: exception happened outside interpreter, nmethods and vtable stubs at pc 0x00002aaaab2b6d4f
#
# JRE version: Java(TM) SE Runtime Environment (8.0_40-b26) (build 1.8.0_40-b26)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.40-b25 mixed mode linux-amd64 compressed oops)
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /usr/local/tomcat/bin/hs_err_pid10396.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
#

#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (sharedRuntime.cpp:834), pid=1585, tid=1114884416
# fatal error: exception happened outside interpreter, nmethods and vtable stubs at pc 0x00002aaaab2b6d4f
#
# JRE version: Java(TM) SE Runtime Environment (8.0_40-b26) (build 1.8.0_40-b26)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.40-b25 mixed mode linux-amd64 compressed oops)
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
#

--------------- T H R E A D ---------------

Current thread (0x00002aaacdc09800): JavaThread "http-nio-443-exec-13" daemon [_thread_in_Java, id=1646, stack(0x00000000426bc000,0x000000004273d000)]

Stack: [0x00000000426bc000,0x000000004273d000], sp=0x0000000042738a40, free space=498k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0xaaca9a] VMError::report_and_die()+0x2ba
V [libjvm.so+0x4f2de9] report_fatal(char const*, int, char const*)+0x59
V [libjvm.so+0x9ab6ba] SharedRuntime::continuation_for_implicit_exception(JavaThread*, unsigned char*, SharedRuntime::ImplicitExceptionKind)+0x33a
V [libjvm.so+0x91501a] JVM_handle_linux_signal+0x48a
V [libjvm.so+0x90b593] signalHandler(int, siginfo*, void*)+0x43
C [libpthread.so.0+0xdd60]
J 4747 C2 com.sun.crypto.provider.GCTR.update([BII[BI)I (158 bytes) @ 0x00002aaaabf9c68a [0x00002aaaabf9c460+0x22a]

...全文
695 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
iywang123 2015-10-25
  • 打赏
  • 举报
回复
GC Heap History (10 events): Event: 4616.414 GC heap before {Heap before GC invocations=7 (full 2): par new generation total 613440K, used 574573K [0x0000000640000000, 0x0000000669990000, 0x0000000669990000) eden space 545344K, 100% used [0x0000000640000000, 0x0000000661490000, 0x0000000661490000) from space 68096K, 42% used [0x0000000665710000, 0x000000066739b4f0, 0x0000000669990000) to space 68096K, 0% used [0x0000000661490000, 0x0000000661490000, 0x0000000665710000) concurrent mark-sweep generation total 5609920K, used 20217K [0x0000000669990000, 0x00000007c0000000, 0x00000007c0000000) Metaspace used 48310K, capacity 49910K, committed 50248K, reserved 1093632K class space used 5021K, capacity 5340K, committed 5448K, reserved 1048576K Event: 4616.455 GC heap after Heap after GC invocations=8 (full 2): par new generation total 613440K, used 32248K [0x0000000640000000, 0x0000000669990000, 0x0000000669990000) eden space 545344K, 0% used [0x0000000640000000, 0x0000000640000000, 0x0000000661490000) from space 68096K, 47% used [0x0000000661490000, 0x000000066340e280, 0x0000000665710000) to space 68096K, 0% used [0x0000000665710000, 0x0000000665710000, 0x0000000669990000) concurrent mark-sweep generation total 5609920K, used 20217K [0x0000000669990000, 0x00000007c0000000, 0x00000007c0000000) Metaspace used 48310K, capacity 49910K, committed 50248K, reserved 1093632K class space used 5021K, capacity 5340K, committed 5448K, reserved 1048576K } Event: 4957.044 GC heap before {Heap before GC invocations=8 (full 2): par new generation total 613440K, used 577592K [0x0000000640000000, 0x0000000669990000, 0x0000000669990000) eden space 545344K, 100% used [0x0000000640000000, 0x0000000661490000, 0x0000000661490000) from space 68096K, 47% used [0x0000000661490000, 0x000000066340e280, 0x0000000665710000) to space 68096K, 0% used [0x0000000665710000, 0x0000000665710000, 0x0000000669990000) concurrent mark-sweep generation total 5609920K, used 20217K [0x0000000669990000, 0x00000007c0000000, 0x00000007c0000000) Metaspace used 48421K, capacity 50148K, committed 50504K, reserved 1093632K class space used 5026K, capacity 5347K, committed 5448K, reserved 1048576K Event: 4957.084 GC heap after Heap after GC invocations=9 (full 2): par new generation total 613440K, used 29578K [0x0000000640000000, 0x0000000669990000, 0x0000000669990000) eden space 545344K, 0% used [0x0000000640000000, 0x0000000640000000, 0x0000000661490000) from space 68096K, 43% used [0x0000000665710000, 0x00000006673f2910, 0x0000000669990000) to space 68096K, 0% used [0x0000000661490000, 0x0000000661490000, 0x0000000665710000) concurrent mark-sweep generation total 5609920K, used 20217K [0x0000000669990000, 0x00000007c0000000, 0x00000007c0000000) Metaspace used 48421K, capacity 50148K, committed 50504K, reserved 1093632K class space used 5026K, capacity 5347K, committed 5448K, reserved 1048576K } Event: 5880.191 GC heap before {Heap before GC invocations=9 (full 2): par new generation total 613440K, used 574922K [0x0000000640000000, 0x0000000669990000, 0x0000000669990000) eden space 545344K, 100% used [0x0000000640000000, 0x0000000661490000, 0x0000000661490000) from space 68096K, 43% used [0x0000000665710000, 0x00000006673f2910, 0x0000000669990000) to space 68096K, 0% used [0x0000000661490000, 0x0000000661490000, 0x0000000665710000) concurrent mark-sweep generation total 5609920K, used 20217K [0x0000000669990000, 0x00000007c0000000, 0x00000007c0000000) Metaspace used 48490K, capacity 50216K, committed 50504K, reserved 1093632K class space used 5031K, capacity 5385K, committed 5448K, reserved 1048576K Event: 5880.231 GC heap after Heap after GC invocations=10 (full 2): par new generation total 613440K, used 35000K [0x0000000640000000, 0x0000000669990000, 0x0000000669990000) eden space 545344K, 0% used [0x0000000640000000, 0x0000000640000000, 0x0000000661490000) from space 68096K, 51% used [0x0000000661490000, 0x00000006636be2c0, 0x0000000665710000) to space 68096K, 0% used [0x0000000665710000, 0x0000000665710000, 0x0000000669990000) concurrent mark-sweep generation total 5609920K, used 20217K [0x0000000669990000, 0x00000007c0000000, 0x00000007c0000000) Metaspace used 48490K, capacity 50216K, committed 50504K, reserved 1093632K class space used 5031K, capacity 5385K, committed 5448K, reserved 1048576K } Event: 6432.277 GC heap before {Heap before GC invocations=10 (full 2): par new generation total 613440K, used 580344K [0x0000000640000000, 0x0000000669990000, 0x0000000669990000) eden space 545344K, 100% used [0x0000000640000000, 0x0000000661490000, 0x0000000661490000) from space 68096K, 51% used [0x0000000661490000, 0x00000006636be2c0, 0x0000000665710000) to space 68096K, 0% used [0x0000000665710000, 0x0000000665710000, 0x0000000669990000) concurrent mark-sweep generation total 5609920K, used 20217K [0x0000000669990000, 0x00000007c0000000, 0x00000007c0000000) Metaspace used 48538K, capacity 50316K, committed 50504K, reserved 1093632K class space used 5035K, capacity 5391K, committed 5448K, reserved 1048576K Event: 6432.318 GC heap after Heap after GC invocations=11 (full 2): par new generation total 613440K, used 37079K [0x0000000640000000, 0x0000000669990000, 0x0000000669990000) eden space 545344K, 0% used [0x0000000640000000, 0x0000000640000000, 0x0000000661490000) from space 68096K, 54% used [0x0000000665710000, 0x0000000667b45c40, 0x0000000669990000) to space 68096K, 0% used [0x0000000661490000, 0x0000000661490000, 0x0000000665710000) concurrent mark-sweep generation total 5609920K, used 20217K [0x0000000669990000, 0x00000007c0000000, 0x00000007c0000000) Metaspace used 48538K, capacity 50316K, committed 50504K, reserved 1093632K class space used 5035K, capacity 5391K, committed 5448K, reserved 1048576K } Event: 7210.628 GC heap before {Heap before GC invocations=11 (full 2): par new generation total 613440K, used 582423K [0x0000000640000000, 0x0000000669990000, 0x0000000669990000) eden space 545344K, 100% used [0x0000000640000000, 0x0000000661490000, 0x0000000661490000) from space 68096K, 54% used [0x0000000665710000, 0x0000000667b45c40, 0x0000000669990000) to space 68096K, 0% used [0x0000000661490000, 0x0000000661490000, 0x0000000665710000) concurrent mark-sweep generation total 5609920K, used 20217K [0x0000000669990000, 0x00000007c0000000, 0x00000007c0000000) Metaspace used 48598K, capacity 50430K, committed 50504K, reserved 1093632K class space used 5046K, capacity 5410K, committed 5448K, reserved 1048576K Event: 7210.685 GC heap after Heap after GC invocations=12 (full 2): par new generation total 613440K, used 23844K [0x0000000640000000, 0x0000000669990000, 0x0000000669990000) eden space 545344K, 0% used [0x0000000640000000, 0x0000000640000000, 0x0000000661490000) from space 68096K, 35% used [0x0000000661490000, 0x0000000662bd9398, 0x0000000665710000) to space 68096K, 0% used [0x0000000665710000, 0x0000000665710000, 0x0000000669990000) concurrent mark-sweep generation total 5609920K, used 37125K [0x0000000669990000, 0x00000007c0000000, 0x00000007c0000000) Metaspace used 48598K, capacity 50430K, committed 50504K, reserved 1093632K class space used 5046K, capacity 5410K, committed 5448K, reserved 1048576K }
iywang123 2015-10-25
  • 打赏
  • 举报
回复
--------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x00002aaacbdfe800 JavaThread "pool-2-thread-4" [_thread_blocked, id=2889, stack(0x0000000042dca000,0x0000000042e4b000)] 0x00002aaac980e000 JavaThread "pool-2-thread-3" [_thread_blocked, id=2446, stack(0x00000000428c0000,0x0000000042941000)] 0x00002aaad09b6000 JavaThread "pool-2-thread-2" [_thread_blocked, id=2157, stack(0x000000004159a000,0x000000004161b000)] 0x0000000001058000 JavaThread "pool-2-thread-1" [_thread_blocked, id=1828, stack(0x0000000041519000,0x000000004159a000)] 0x00002aaace63b000 JavaThread "http-nio-443-exec-25" daemon [_thread_blocked, id=1659, stack(0x0000000042d49000,0x0000000042dca000)] 0x00002aaac8247800 JavaThread "http-nio-443-exec-24" daemon [_thread_blocked, id=1658, stack(0x0000000042cc8000,0x0000000042d49000)] 0x00002aaacb790800 JavaThread "http-nio-443-exec-23" daemon [_thread_blocked, id=1657, stack(0x0000000042c47000,0x0000000042cc8000)] 0x00002aaacb78f000 JavaThread "http-nio-443-exec-22" daemon [_thread_blocked, id=1656, stack(0x0000000042bc6000,0x0000000042c47000)] 0x00002aaac72ee000 JavaThread "http-nio-443-exec-21" daemon [_thread_blocked, id=1655, stack(0x0000000042b45000,0x0000000042bc6000)] 0x00002aaac72ec800 JavaThread "http-nio-443-exec-20" daemon [_thread_blocked, id=1654, stack(0x0000000042ac4000,0x0000000042b45000)] 0x00002aaac72e9000 JavaThread "http-nio-443-exec-19" daemon [_thread_blocked, id=1653, stack(0x0000000042a43000,0x0000000042ac4000)] 0x00002aaac72e8000 JavaThread "http-nio-443-exec-18" daemon [_thread_blocked, id=1652, stack(0x00000000429c2000,0x0000000042a43000)] 0x00002aaacb797800 JavaThread "http-nio-443-exec-17" daemon [_thread_blocked, id=1651, stack(0x0000000042941000,0x00000000429c2000)] 0x00002aaacdc0f000 JavaThread "http-nio-443-exec-16" daemon [_thread_blocked, id=1649, stack(0x000000004283f000,0x00000000428c0000)] 0x00002aaacdc0c800 JavaThread "http-nio-443-exec-15" daemon [_thread_blocked, id=1648, stack(0x00000000427be000,0x000000004283f000)] 0x00002aaacdc0b000 JavaThread "http-nio-443-exec-14" daemon [_thread_blocked, id=1647, stack(0x000000004273d000,0x00000000427be000)] =>0x00002aaacdc09800 JavaThread "http-nio-443-exec-13" daemon [_thread_in_Java, id=1646, stack(0x00000000426bc000,0x000000004273d000)] 0x00002aaacaaef800 JavaThread "http-nio-443-exec-12" daemon [_thread_blocked, id=1645, stack(0x000000004263b000,0x00000000426bc000)] 0x00002aaacc227000 JavaThread "http-nio-443-exec-11" daemon [_thread_blocked, id=1644, stack(0x00000000425ba000,0x000000004263b000)] 0x00002aaacb798800 JavaThread "http-nio-443-exec-10" daemon [_thread_blocked, id=1643, stack(0x0000000042539000,0x00000000425ba000)] 0x00002aaacc822800 JavaThread "http-nio-443-exec-9" daemon [_thread_blocked, id=1642, stack(0x00000000424b8000,0x0000000042539000)] 0x00002aaac661c000 JavaThread "http-nio-443-exec-8" daemon [_thread_blocked, id=1641, stack(0x0000000042437000,0x00000000424b8000)] 0x00002aaacdbff800 JavaThread "http-nio-443-exec-7" daemon [_thread_blocked, id=1640, stack(0x00000000423b6000,0x0000000042437000)] 0x000000000070d000 JavaThread "http-nio-443-exec-6" daemon [_thread_blocked, id=1639, stack(0x0000000042335000,0x00000000423b6000)] 0x00000000016b6800 JavaThread "http-nio-443-exec-5" daemon [_thread_blocked, id=1638, stack(0x00000000422b4000,0x0000000042335000)] 0x0000000000b68000 JavaThread "http-nio-443-exec-4" daemon [_thread_blocked, id=1637, stack(0x0000000042233000,0x00000000422b4000)] 0x0000000000a22800 JavaThread "http-nio-443-exec-3" daemon [_thread_blocked, id=1636, stack(0x00000000421b2000,0x0000000042233000)] 0x0000000000a20000 JavaThread "http-nio-443-exec-2" daemon [_thread_blocked, id=1635, stack(0x0000000042131000,0x00000000421b2000)] 0x0000000001432800 JavaThread "http-nio-443-exec-1" daemon [_thread_blocked, id=1634, stack(0x00000000420b0000,0x0000000042131000)] 0x0000000000d1e800 JavaThread "http-nio-443-Acceptor-0" daemon [_thread_in_native, id=1633, stack(0x000000004202f000,0x00000000420b0000)] 0x0000000000c99000 JavaThread "http-nio-443-ClientPoller-1" daemon [_thread_in_native, id=1632, stack(0x0000000041fae000,0x000000004202f000)] 0x0000000001020000 JavaThread "http-nio-443-ClientPoller-0" daemon [_thread_in_native, id=1631, stack(0x0000000041f2d000,0x0000000041fae000)] 0x0000000000c9a000 JavaThread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" daemon [_thread_blocked, id=1630, stack(0x0000000041eac000,0x0000000041f2d000)] 0x00002aaaceaf0800 JavaThread "Timer-0" daemon [_thread_blocked, id=1628, stack(0x0000000041daa000,0x0000000041e2b000)] 0x00002aaac6139000 JavaThread "startQuertz_QuartzSchedulerThread" [_thread_blocked, id=1627, stack(0x0000000041d29000,0x0000000041daa000)] 0x0000000001b3d800 JavaThread "startQuertz_Worker-10" [_thread_blocked, id=1626, stack(0x0000000041ca8000,0x0000000041d29000)] 0x0000000001b3b800 JavaThread "startQuertz_Worker-9" [_thread_blocked, id=1625, stack(0x0000000041c27000,0x0000000041ca8000)] 0x0000000001b39800 JavaThread "startQuertz_Worker-8" [_thread_blocked, id=1624, stack(0x0000000041ba6000,0x0000000041c27000)] 0x0000000001b37800 JavaThread "startQuertz_Worker-7" [_thread_blocked, id=1623, stack(0x0000000041b25000,0x0000000041ba6000)] 0x0000000001b2f800 JavaThread "startQuertz_Worker-6" [_thread_blocked, id=1622, stack(0x0000000041aa4000,0x0000000041b25000)] 0x0000000001b2d800 JavaThread "startQuertz_Worker-5" [_thread_blocked, id=1621, stack(0x0000000041a23000,0x0000000041aa4000)] 0x0000000001b2b800 JavaThread "startQuertz_Worker-4" [_thread_blocked, id=1620, stack(0x00000000419a2000,0x0000000041a23000)] 0x0000000001b24000 JavaThread "startQuertz_Worker-3" [_thread_blocked, id=1619, stack(0x0000000041921000,0x00000000419a2000)] 0x0000000001b22000 JavaThread "startQuertz_Worker-2" [_thread_blocked, id=1618, stack(0x00000000418a0000,0x0000000041921000)] 0x0000000001b20000 JavaThread "startQuertz_Worker-1" [_thread_blocked, id=1617, stack(0x000000004181f000,0x00000000418a0000)] 0x00000000014ff800 JavaThread "Druid-ConnectionPool-Destory-1633141120" daemon [_thread_blocked, id=1616, stack(0x000000004179e000,0x000000004181f000)] 0x00000000014ec800 JavaThread "Druid-ConnectionPool-Create-1633141120" daemon [_thread_blocked, id=1615, stack(0x000000004171d000,0x000000004179e000)] 0x0000000000d14800 JavaThread "Abandoned connection cleanup thread" daemon [_thread_blocked, id=1614, stack(0x000000004169c000,0x000000004171d000)] 0x00002aaaca495800 JavaThread "FileWatchdog" daemon [_thread_blocked, id=1613, stack(0x000000004161b000,0x000000004169c000)] 0x0000000000bb6800 JavaThread "NioBlockingSelector.BlockPoller-1" daemon [_thread_in_native, id=1610, stack(0x0000000041498000,0x0000000041519000)] 0x00002aaac6588800 JavaThread "GC Daemon" daemon [_thread_blocked, id=1609, stack(0x0000000041417000,0x0000000041498000)] 0x00002aaac5501000 JavaThread "Service Thread" daemon [_thread_blocked, id=1607, stack(0x0000000041295000,0x0000000041316000)] 0x00002aaac5435000 JavaThread "C1 CompilerThread3" daemon [_thread_blocked, id=1606, stack(0x0000000041194000,0x0000000041295000)] 0x00002aaac5432800 JavaThread "C2 CompilerThread2" daemon [_thread_blocked, id=1605, stack(0x0000000041093000,0x0000000041194000)] 0x00002aaac5430800 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=1604, stack(0x0000000040f92000,0x0000000041093000)] 0x00002aaac542e800 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=1603, stack(0x0000000040e91000,0x0000000040f92000)] 0x00002aaac542c000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=1602, stack(0x0000000040e10000,0x0000000040e91000)] 0x00002aaac542b000 JavaThread "Surrogate Locker Thread (Concurrent GC)" daemon [_thread_blocked, id=1601, stack(0x0000000040d8f000,0x0000000040e10000)] 0x00002aaaba7ce000 JavaThread "Finalizer" daemon [_thread_blocked, id=1600, stack(0x0000000040d0e000,0x0000000040d8f000)] 0x00002aaaba7cc000 JavaThread "Reference Handler" daemon [_thread_blocked, id=1599, stack(0x0000000040c8d000,0x0000000040d0e000)] 0x000000000060b800 JavaThread "main" [_thread_in_native, id=1586, stack(0x0000000040000000,0x0000000040081000)] Other Threads: 0x00002aaaba7c7000 VMThread [stack: 0x0000000040b8c000,0x0000000040c8d000] [id=1598] 0x00002aaac5504000 WatcherThread [stack: 0x0000000041316000,0x0000000041417000] [id=1608] VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None
iywang123 2015-10-25
  • 打赏
  • 举报
回复
Heap: par new generation total 613440K, used 64002K [0x0000000640000000, 0x0000000669990000, 0x0000000669990000) eden space 545344K, 7% used [0x0000000640000000, 0x0000000642737528, 0x0000000661490000) from space 68096K, 35% used [0x0000000661490000, 0x0000000662bd9398, 0x0000000665710000) to space 68096K, 0% used [0x0000000665710000, 0x0000000665710000, 0x0000000669990000) concurrent mark-sweep generation total 5609920K, used 37125K [0x0000000669990000, 0x00000007c0000000, 0x00000007c0000000) Metaspace used 48598K, capacity 50430K, committed 50504K, reserved 1093632K class space used 5046K, capacity 5410K, committed 5448K, reserved 1048576K Card table byte_map: [0x00002aaaba800000,0x00002aaabb401000] byte_map_base: 0x00002aaab7600000 Marking Bits: (CMSBitMap*) 0x00002aaaba76f3f8 Bits: [0x00002aaabc6bd000, 0x00002aaac1c56c00) Mod Union Table: (CMSBitMap*) 0x00002aaaba76f4b8 Bits: [0x00002aaac1c57000, 0x00002aaac1dad670) Polling page: 0x00002aaaab009000 CodeCache: size=245760Kb used=36184Kb max_used=36231Kb free=209575Kb bounds [0x00002aaaab263000, 0x00002aaaad613000, 0x00002aaaba263000] total_blobs=9307 nmethods=8793 adapters=427 compilation: enabled Compilation events (10 events): Event: 7220.349 Thread 0x00002aaac5430800 nmethod 11693 0x00002aaaac7ba010 code [0x00002aaaac7ba180, 0x00002aaaac7ba678] Event: 7220.361 Thread 0x00002aaac542e800 nmethod 11694 0x00002aaaac711390 code [0x00002aaaac711520, 0x00002aaaac711eb8] Event: 7227.920 Thread 0x00002aaac5432800 11696 ! 4 sun.reflect.GeneratedConstructorAccessor25::newInstance (49 bytes) Event: 7227.928 Thread 0x00002aaac5432800 nmethod 11696 0x00002aaaac5ee810 code [0x00002aaaac5ee9a0, 0x00002aaaac5eed68] Event: 7227.930 Thread 0x00002aaac5430800 11697 ! 4 sun.misc.CharacterDecoder::decodeBuffer (152 bytes) Event: 7227.938 Thread 0x00002aaac5430800 nmethod 11697 0x00002aaaab881c50 code [0x00002aaaab881dc0, 0x00002aaaab882058] Event: 7230.388 Thread 0x00002aaac5435000 11698 3 org.codehaus.jackson.map.deser.StdDeserializationContext::<init> (22 bytes) Event: 7230.389 Thread 0x00002aaac5435000 nmethod 11698 0x00002aaaac710e50 code [0x00002aaaac710fc0, 0x00002aaaac711238] Event: 7230.390 Thread 0x00002aaac5435000 11699 3 org.codehaus.jackson.map.DeserializationContext::<init> (18 bytes) Event: 7230.391 Thread 0x00002aaac5435000 nmethod 11699 0x00002aaaab843fd0 code [0x00002aaaab844140, 0x00002aaaab844318]
一、什么是JVM  JVM是Java Virtual Machine(Java虚拟机)的缩写,JVM是一种用于计算设备的规范,它是一个虚构出来的计算机,是通过在实际的计算机上仿真模拟各种计算机功能来实现的。Java虚拟机包括一套字节码指令集、一组寄存器、一个栈、一个垃圾回收堆和一个存储方法域。 JVM屏蔽了与具体操作系统平台相关的信息,使Java程序只需生成在Java虚拟机上运行的目标代码(字节码),就可以在多种平台上不加修改地运行。JVM在执行字节码时,实际上最终还是把字节码解释成具体平台上的机器指令执行。  Java语言的一个非常重要的特点就是与平台的无关性。而使用Java虚拟机是实现这一特点的关键。一般的高级语言如果要在不同的平台上运行,至少需要编译成不同的目标代码。而引入Java语言虚拟机后,Java语言在不同平台上运行时不需要重新编译。Java语言使用Java虚拟机屏蔽了与具体平台相关的信息,使得Java语言编译程序只需生成在Java虚拟机上运行的目标代码(字节码),就可以在多种平台上不加修改地运行。Java虚拟机在执行字节码时,把字节码解释成具体平台上的机器指令执行。这就是Java的能够“一次编译,到处运行”的原因。二、JVM的组成我们先把JVM这个虚拟机画出来,如下图所示:从这张图中我们可以看出,JVM是运行在操作系统之上的,它与硬件没有直接的交互,我们再来看JVM由哪些部分组成,如下图所示:

67,512

社区成员

发帖
与我相关
我的任务
社区描述
J2EE只是Java企业应用。我们需要一个跨J2SE/WEB/EJB的微容器,保护我们的业务核心组件(中间件),以延续它的生命力,而不是依赖J2SE/J2EE版本。
社区管理员
  • Java EE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧