问题描述:
pdfDocument.loadFromStream(inputStream) 调用后程序一直在后台运行,cpu占用飙升,疑似内部调用出现死锁
触发方法:
"catalina-exec-48" #126 daemon prio=5 os_prio=0 tid=0x00007fdbc1190000 nid=0xba runnable [0x00007fda6aa5c000] cpu=36.2%
java.lang.Thread.State: RUNNABLE
at com.spire.doc.packages.sprvla.spr (Unknown Source)
at com.spire.doc.packages.sprvla.spr (Unknown Source)
at com.spire.doc.packages.sprvla.spr (Unknown Source)
at com.spire.doc.packages.sprvla.spr (Unknown Source)
at com.spire.doc.packages.sprvla.spr (Unknown Source)
at com.spire.doc.packages.sprvla.spr (Unknown Source)
at com.spire.doc.packages.sprvla.spr (Unknown Source)
at com.spire.doc.packages.sprvla.spr (Unknown Source)
at com.spire.doc.packages.sprOla.spr (Unknown Source)
at com.spire.pdf.widget.PdfDocumentWidget.spr (Unknown Source)
at com.spire.pdf.widget.PdfDocumentWidget.<init>(Unknown Source)
at com.spire.pdf.PdfDocument.spr (Unknown Source)
at com.spire.pdf.PdfDocument.loadFromStream(Unknown Source)
调用代码:
PdfDocument pdfDocument = new PdfDocument();
pdfDocument.loadFromStream(inputStream);
spire doc version: 4.10.3