问题描述
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6760149BugID:6760149Votes2SynopsisServerVMC2compilerfailsw/4A41564123414C4C530E4350500018onWindowsCategoryhotspot:compiler2ReportedAgainstb03ReleaseFixedState3-Accepted,bugPriority:4-LowRelatedBugsSubmitDate16-OCT-2008Description1.5.0C2compilerfailsintermittentlywithInternalError4A41564123414C4C530E4350500018runningJBOSSapplicationserveronWindowsServer2003:Nostacktraceisprovided.Pleasefindhs_err_pid3824.logattached.%morehs_err_pid3824.log##AnunexpectederrorhasbeendetectedbyHotSpotVirtualMachine:##InternalError(4A41564123414C4C530E4350500018),pid=3824,tid=3872##JavaVM:JavaHotSpot(TM)ServerVM(1.5.0_10-b03mixedmode)---------------THREAD---------------Currentthread(0x63dc9b90):JavaThread"CompilerThread1"daemon[_thread_in_vm,id=3872]Stack:[0x64110000,0x64150000)[erroroccurredduringerrorreporting,step110,id0xc0000005]CurrentCompileTask:opto:6745CH.obj.Application.Code.Rule.core.RuleClassExtension.simpleParamCheck(LCH/obj/Application/Code/Rule/core/RuleCheckView;)Z(121bytes)[...]---------------SYSTEM---------------OS:WindowsServer2003familyBuild3790ServicePack2CPU:total4(corespercpu1,threadspercore2)family15model4stepping3,cmov,cx8,fxsr,mmx,sse,sse2,sse3,htMemory:4kpage,physical2097151k(565868kfree),swap4194303k(3916696kfree)vm_info:JavaHotSpot(TM)ServerVM(1.5.0_10-b03)forwindows-x86,builtonNov9200612:52:20by"java_re"withMSVC++6.0%PostedDate:2008-10-1611:06:37.0
解决方案
解决方案二:
jdk1.5所有的小版本和修改的bug都在这里了,没发现你说的这个bug。你这个不是说jdk的bug吧,应该是说database的bug,
解决方案三:
hs_err_pid1576.log中的日志如下:##AnunexpectederrorhasbeendetectedbyHotSpotVirtualMachine:##InternalError(4A41564123414C4C530E4350500018),pid=1576,tid=2068##JavaVM:JavaHotSpot(TM)ServerVM(1.5.0_04-b05mixedmode)---------------THREAD---------------Currentthread(0x646b3468):JavaThread"CompilerThread1"daemon[_thread_in_vm,id=2068]Stack:[0x64ca0000,0x64ce0000)[erroroccurredduringerrorreporting,step110,id0xc0000005]CurrentCompileTask:opto:238%!jsp_servlet._callback._execute.__showscript._jspService(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V@5836(14645bytes)---------------PROCESS---------------JavaThreads:(=>currentthread)0x7a00b680JavaThread"Thread-254"daemon[_thread_in_vm,id=6084]0x66b91e60JavaThread"Thread-253"daemon[_thread_blocked,id=7256]0x6af3a9f8JavaThread"[ACTIVE]ExecuteThread:'48'forqueue:'weblogic.kernel.Default(self-tuning)'"daemon[_thread_blocked,id=5608]0x66c25e88JavaThread"[ACTIVE]ExecuteThread:'47'forqueue:'weblogic.kernel.Default(self-tuning)'"daemon[_thread_in_native,id=6112]0x6a674410JavaThread"cache-PrepareThread"daemon[_thread_blocked,id=1668]0x6ad98af8JavaThread"cache-CommitThread"daemon[_thread_blocked,id=5308]0x69e36e70JavaThread"AWT-Windows"daemon[_thread_in_native,id=5904][_thread_in_native,id=856]0x667dfda8JavaThread"ExecuteThread:'5'forqueue:'weblogic.socket.Muxer'"daemon[_thread_in_native,id=5892]0x662be5d0JavaThread"ExecuteThread:'4'forqueue:'weblogic.socket.Muxer'"daemon[_thread_in_native,id=4004]0x662be450JavaThread"ExecuteThread:'3'forqueue:'weblogic.socket.Muxer'"daemon[_thread_in_native,id=2448]0x6621e870JavaThread"[ACTIVE]ExecuteThread:'19'forqueue:'weblogic.kernel.Default(self-tuning)'"daemon[_thread_blocked,id=6364]0x66471008JavaThread"[ACTIVE]ExecuteThread:'18'forqueue:'weblogic.kernel.Default(self-tuning)'"daemon[_thread_blocked,id=4692]0x6551e200JavaThread"[ACTIVE]ExecuteThread:'17'forqueue:'weblogic.kernel.Default(self-tuning)'"daemon[_thread_blocked,id=4068]0x65eae290JavaThread"[ACTIVE]ExecuteThread:'16'forqueue:'weblogic.kernel.Default(self-tuning)'"daemon[_thread_blocked,id=5776]0x66c544c8JavaThread"[ACTIVE]ExecuteThread:'15'forqueue:'weblogic.kernel.Default(self-tuning)'"daemon[_thread_blocked,id=4328]0x696c0428JavaThread"[STANDBY]ExecuteThread:'14'forqueue:'weblogic.kernel.Default(self-tuning)'"daemon[_thread_blocked,id=8132]0x659d32e8JavaThread"[ACTIVE]ExecuteThread:'13'forqueue:'weblogic.kernel.Default(self-tuning)'"daemon[_thread_blocked,id=7016]0x66353178JavaThread"[ACTIVE]ExecuteThread:'12'forqueue:'weblogic.kernel.Default(self-tuning)'"daemon[_thread_blocked,id=4516]0x66b92228JavaThread"[ACTIVE]ExecuteThread:'0'forqueue:'weblogic.kernel.Default(self-tuning)'"daemon[_thread_blocked,id=6056]0x656c8760JavaThread"Timer-2"daemon[_thread_blocked,id=4660]0x659d6e38JavaThread"Timer-1"daemon[_thread_blocked,id=5316]0x65984590JavaThread"RMITCPAccept-8888"daemon[_thread_in_native,id=5140]0x6588adc0JavaThread"RMITCPAccept-0"daemon[_thread_in_native,id=5588]0x658a3150JavaThread"Timer-0"daemon[_thread_blocked,id=4944]0x646b4870JavaThread"LowMemoryDetector"daemon[_thread_blocked,id=5072]=>0x646b3468JavaThread"CompilerThread1"daemon[_thread_in_vm,id=2068]0x646b2358JavaThread"CompilerThread0"daemon[_thread_blocked,id=7468]0x646b10c8JavaThread"AdapterThread"daemon[_thread_blocked,id=5624]0x646b02e0JavaThread"SignalDispatcher"daemon[_thread_blocked,id=5312]0x646af208JavaThread"JDWPEventHelperThread"daemon[_thread_blocked,id=7444]0x646ac8c8JavaThread"JDWPTransportListener:dt_socket"daemon[_thread_in_native,id=5852]0x646986f0JavaThread"Finalizer"daemon[_thread_blocked,id=1372]0x64697a58JavaThread"ReferenceHandler"daemon[_thread_blocked,id=5868]0x00038948JavaThread"main"[_thread_blocked,id=6076]OtherThreads:0x64695910VMThread[id=5200]0x659d7c70WatcherThread[id=1640]VMstate:notatsafepoint(normalexecution)VMMutex/Monitorcurrentlyownedbyathread:NoneHeapparnewgenerationtotal471872K,used361449K[0x02ef0000,0x22ef0000,0x22ef0000)edenspace419456K,86%used[0x02ef0000,0x18fea448,0x1c890000)fromspace52416K,0%used[0x1c890000,0x1c890000,0x1fbc0000)tospace52416K,0%used[0x1fbc0000,0x1fbc0000,0x22ef0000)tenuredgenerationtotal806912K,used173061K[0x22ef0000,0x542f0000,0x542f0000)thespace806912K,21%used[0x22ef0000,0x2d7f1638,0x2d7f1800,0x542f0000)compactingpermgentotal109824K,used109648K[0x542f0000,0x5ae30000,0x642f0000)thespace109824K,99%used[0x542f0000,0x5ae04140,0x5ae04200,0x5ae30000)Nosharedspacesconfigured.Dynamiclibraries:0x00400000-0x0040c000C:hundsunbeaJDK150~1binjava.exe0x7c930000-0x7ca00000C:WINDOWSsystem32ntdll.dllVMArguments:jvm_args:-Xms1300m-Xmx1300m-Xmn512m-XX:ParallelGCThreads=20-XX:MaxTenuringThreshold=7-XX:GCTimeRatio=19-XX:CMSInitiatingOccupancyFraction=70-XX:-UseAdaptiveSizePolicy-Xcheck:jni-XX:MaxPermSize=256m-Xdebug-Xnoagent-Djava.compiler=none请问LS知道如何解决吗
解决方案四:
StringpdfFile="C:\hello\20101217160148_itext使用方法.pdf";Filefile=newFile(pdfFile);Desktopdesktop=Desktop.getDesktop();try{System.out.println("printbeging....");desktop.print(file);}catch(IOExceptione){e.printStackTrace();}System.out.println("printend.......");