加密修改
This commit is contained in:
parent
17256e2b82
commit
0830878e32
|
|
@ -0,0 +1,344 @@
|
|||
#
|
||||
# There is insufficient memory for the Java Runtime Environment to continue.
|
||||
# Native memory allocation (malloc) failed to allocate 948336 bytes for Chunk::new
|
||||
# Possible reasons:
|
||||
# The system is out of physical RAM or swap space
|
||||
# The process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap
|
||||
# Possible solutions:
|
||||
# Reduce memory load on the system
|
||||
# Increase physical memory or swap space
|
||||
# Check if swap backing store is full
|
||||
# Decrease Java heap size (-Xmx/-Xms)
|
||||
# Decrease number of Java threads
|
||||
# Decrease Java thread stack sizes (-Xss)
|
||||
# Set larger code cache with -XX:ReservedCodeCacheSize=
|
||||
# JVM is running with Zero Based Compressed Oops mode in which the Java heap is
|
||||
# placed in the first 32GB address space. The Java Heap base address is the
|
||||
# maximum limit for the native heap growth. Please use -XX:HeapBaseMinAddress
|
||||
# to set the Java Heap base and to place the Java Heap above 32GB virtual address.
|
||||
# This output file may be truncated or incomplete.
|
||||
#
|
||||
# Out of Memory Error (allocation.cpp:389), pid=21256, tid=0x00000000000089d0
|
||||
#
|
||||
# JRE version: Java(TM) SE Runtime Environment (8.0_401) (build 1.8.0_401-b10)
|
||||
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.401-b10 mixed mode windows-amd64 compressed oops)
|
||||
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
|
||||
#
|
||||
|
||||
--------------- T H R E A D ---------------
|
||||
|
||||
Current thread (0x00000139fd333000): JavaThread "C2 CompilerThread4" daemon [_thread_in_native, id=35280, stack(0x0000000b49300000,0x0000000b49400000)]
|
||||
|
||||
Stack: [0x0000000b49300000,0x0000000b49400000]
|
||||
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
|
||||
V [jvm.dll+0x3530d9]
|
||||
|
||||
|
||||
Current CompileTask:
|
||||
C2: 4225 5585 ! 4 lombok.core.AST::buildWithField0 (121 bytes)
|
||||
|
||||
|
||||
--------------- P R O C E S S ---------------
|
||||
|
||||
Java Threads: ( => current thread )
|
||||
0x00000139fd3d1000 JavaThread "Service Thread" daemon [_thread_blocked, id=35108, stack(0x0000000b49b00000,0x0000000b49c00000)]
|
||||
0x00000139fd332800 JavaThread "C1 CompilerThread11" daemon [_thread_blocked, id=22284, stack(0x0000000b49a00000,0x0000000b49b00000)]
|
||||
0x00000139fd331800 JavaThread "C1 CompilerThread10" daemon [_thread_in_native, id=36712, stack(0x0000000b49900000,0x0000000b49a00000)]
|
||||
0x00000139fd331000 JavaThread "C1 CompilerThread9" daemon [_thread_in_vm, id=24888, stack(0x0000000b49800000,0x0000000b49900000)]
|
||||
0x00000139fd32f800 JavaThread "C1 CompilerThread8" daemon [_thread_in_vm, id=21728, stack(0x0000000b49700000,0x0000000b49800000)]
|
||||
0x00000139fd32e800 JavaThread "C2 CompilerThread7" daemon [_thread_in_native, id=20916, stack(0x0000000b49600000,0x0000000b49700000)]
|
||||
0x00000139fd32e000 JavaThread "C2 CompilerThread6" daemon [_thread_in_native, id=34040, stack(0x0000000b49500000,0x0000000b49600000)]
|
||||
0x00000139fd32c800 JavaThread "C2 CompilerThread5" daemon [_thread_in_native, id=34684, stack(0x0000000b49400000,0x0000000b49500000)]
|
||||
=>0x00000139fd333000 JavaThread "C2 CompilerThread4" daemon [_thread_in_native, id=35280, stack(0x0000000b49300000,0x0000000b49400000)]
|
||||
0x00000139fd330000 JavaThread "C2 CompilerThread3" daemon [_thread_in_native, id=25680, stack(0x0000000b49200000,0x0000000b49300000)]
|
||||
0x00000139fd32d000 JavaThread "C2 CompilerThread2" daemon [_thread_in_native, id=17956, stack(0x0000000b49100000,0x0000000b49200000)]
|
||||
0x00000139fd32a800 JavaThread "C2 CompilerThread1" daemon [_thread_in_native, id=17680, stack(0x0000000b49000000,0x0000000b49100000)]
|
||||
0x00000139fd328000 JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=9184, stack(0x0000000b48f00000,0x0000000b49000000)]
|
||||
0x00000139fd31d800 JavaThread "Monitor Ctrl-Break" daemon [_thread_in_native, id=3176, stack(0x0000000b48e00000,0x0000000b48f00000)]
|
||||
0x00000139fd2ee000 JavaThread "Attach Listener" daemon [_thread_blocked, id=21016, stack(0x0000000b48d00000,0x0000000b48e00000)]
|
||||
0x00000139fd27f800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=1824, stack(0x0000000b48c00000,0x0000000b48d00000)]
|
||||
0x00000139fa5a4000 JavaThread "Finalizer" daemon [_thread_blocked, id=22244, stack(0x0000000b48b00000,0x0000000b48c00000)]
|
||||
0x00000139fd270800 JavaThread "Reference Handler" daemon [_thread_blocked, id=13476, stack(0x0000000b48a00000,0x0000000b48b00000)]
|
||||
0x00000139f6702000 JavaThread "main" [_thread_in_Java, id=5636, stack(0x0000000b47b00000,0x0000000b47c00000)]
|
||||
|
||||
Other Threads:
|
||||
0x00000139fa594800 VMThread [stack: 0x0000000b48900000,0x0000000b48a00000] [id=32360]
|
||||
0x00000139fd42c000 WatcherThread [stack: 0x0000000b49c00000,0x0000000b49d00000] [id=19812]
|
||||
|
||||
VM state:not at safepoint (normal execution)
|
||||
|
||||
VM Mutex/Monitor currently owned by a thread: None
|
||||
|
||||
heap address: 0x00000006cce00000, size: 3890 MB, Compressed Oops mode: Zero based, Oop shift amount: 3
|
||||
Narrow klass base: 0x0000000000000000, Narrow klass shift: 3
|
||||
Compressed class space size: 1073741824 Address: 0x00000007c0000000
|
||||
|
||||
Heap:
|
||||
PSYoungGen total 135168K, used 81784K [0x000000076ef80000, 0x000000077e080000, 0x00000007c0000000)
|
||||
eden space 124928K, 57% used [0x000000076ef80000,0x0000000773564280,0x0000000776980000)
|
||||
from space 10240K, 99% used [0x0000000776980000,0x0000000777379eb0,0x0000000777380000)
|
||||
to space 32256K, 0% used [0x000000077c100000,0x000000077c100000,0x000000077e080000)
|
||||
ParOldGen total 146944K, used 61147K [0x00000006cce00000, 0x00000006d5d80000, 0x000000076ef80000)
|
||||
object space 146944K, 41% used [0x00000006cce00000,0x00000006d09b6c28,0x00000006d5d80000)
|
||||
Metaspace used 25010K, capacity 25656K, committed 25904K, reserved 1073152K
|
||||
class space used 2858K, capacity 3061K, committed 3120K, reserved 1048576K
|
||||
|
||||
Card table byte_map: [0x00000139f8650000,0x00000139f8df0000] byte_map_base: 0x00000139f4fe9000
|
||||
|
||||
Marking Bits: (ParMarkBitMap*) 0x00007fff4c1d5fc0
|
||||
Begin Bits: [0x000001398f000000, 0x0000013992cc8000)
|
||||
End Bits: [0x0000013992cc8000, 0x0000013996990000)
|
||||
|
||||
Polling page: 0x00000139f69e0000
|
||||
|
||||
CodeCache: size=245760Kb used=20942Kb max_used=20952Kb free=224817Kb
|
||||
bounds [0x0000013980000000, 0x0000013981490000, 0x000001398f000000]
|
||||
total_blobs=5519 nmethods=5100 adapters=329
|
||||
compilation: enabled
|
||||
|
||||
Compilation events (10 events):
|
||||
Event: 4.213 Thread 0x00000139fd332800 nmethod 5686 0x000001398147f790 code [0x000001398147f900, 0x000001398147fba0]
|
||||
Event: 4.213 Thread 0x00000139fd331800 nmethod 5685 0x000001398147fcd0 code [0x000001398147fe80, 0x00000139814804c0]
|
||||
Event: 4.214 Thread 0x00000139fd32f800 5690 3 java.net.URI::hashIgnoringCase (45 bytes)
|
||||
Event: 4.215 Thread 0x00000139fd32f800 nmethod 5690 0x0000013981480810 code [0x00000139814809c0, 0x0000013981481010]
|
||||
Event: 4.215 Thread 0x00000139fd331000 5692 3 lombok.javac.JavacNode::getAst (5 bytes)
|
||||
Event: 4.215 Thread 0x00000139fd332800 5691 1 lombok.javac.JavacTransformer::access$0 (5 bytes)
|
||||
Event: 4.215 Thread 0x00000139fd331800 5693 1 lombok.core.AST::getImportList (5 bytes)
|
||||
Event: 4.215 Thread 0x00000139fd332800 nmethod 5691 0x0000013981481350 code [0x00000139814814a0, 0x0000013981481598]
|
||||
Event: 4.215 Thread 0x00000139fd331800 nmethod 5693 0x0000013981481610 code [0x0000013981481760, 0x0000013981481878]
|
||||
Event: 4.216 Thread 0x00000139fd331000 nmethod 5692 0x00000139814818d0 code [0x0000013981481a20, 0x0000013981481b98]
|
||||
|
||||
GC Heap History (10 events):
|
||||
Event: 1.459 GC heap before
|
||||
{Heap before GC invocations=4 (full 0):
|
||||
PSYoungGen total 72704K, used 72680K [0x000000076ef80000, 0x0000000777d80000, 0x00000007c0000000)
|
||||
eden space 62464K, 100% used [0x000000076ef80000,0x0000000772c80000,0x0000000772c80000)
|
||||
from space 10240K, 99% used [0x0000000772c80000,0x000000077367a060,0x0000000773680000)
|
||||
to space 10240K, 0% used [0x0000000777380000,0x0000000777380000,0x0000000777d80000)
|
||||
ParOldGen total 166912K, used 5974K [0x00000006cce00000, 0x00000006d7100000, 0x000000076ef80000)
|
||||
object space 166912K, 3% used [0x00000006cce00000,0x00000006cd3d5b70,0x00000006d7100000)
|
||||
Metaspace used 15722K, capacity 15986K, committed 16128K, reserved 1062912K
|
||||
class space used 1899K, capacity 1980K, committed 2048K, reserved 1048576K
|
||||
Event: 1.466 GC heap after
|
||||
Heap after GC invocations=4 (full 0):
|
||||
PSYoungGen total 135168K, used 10216K [0x000000076ef80000, 0x0000000777d80000, 0x00000007c0000000)
|
||||
eden space 124928K, 0% used [0x000000076ef80000,0x000000076ef80000,0x0000000776980000)
|
||||
from space 10240K, 99% used [0x0000000777380000,0x0000000777d7a080,0x0000000777d80000)
|
||||
to space 10240K, 0% used [0x0000000776980000,0x0000000776980000,0x0000000777380000)
|
||||
ParOldGen total 166912K, used 14404K [0x00000006cce00000, 0x00000006d7100000, 0x000000076ef80000)
|
||||
object space 166912K, 8% used [0x00000006cce00000,0x00000006cdc111d8,0x00000006d7100000)
|
||||
Metaspace used 15722K, capacity 15986K, committed 16128K, reserved 1062912K
|
||||
class space used 1899K, capacity 1980K, committed 2048K, reserved 1048576K
|
||||
}
|
||||
Event: 2.088 GC heap before
|
||||
{Heap before GC invocations=5 (full 0):
|
||||
PSYoungGen total 135168K, used 135144K [0x000000076ef80000, 0x0000000777d80000, 0x00000007c0000000)
|
||||
eden space 124928K, 100% used [0x000000076ef80000,0x0000000776980000,0x0000000776980000)
|
||||
from space 10240K, 99% used [0x0000000777380000,0x0000000777d7a080,0x0000000777d80000)
|
||||
to space 10240K, 0% used [0x0000000776980000,0x0000000776980000,0x0000000777380000)
|
||||
ParOldGen total 166912K, used 14404K [0x00000006cce00000, 0x00000006d7100000, 0x000000076ef80000)
|
||||
object space 166912K, 8% used [0x00000006cce00000,0x00000006cdc111d8,0x00000006d7100000)
|
||||
Metaspace used 17509K, capacity 17946K, committed 18048K, reserved 1064960K
|
||||
class space used 2034K, capacity 2156K, committed 2176K, reserved 1048576K
|
||||
Event: 2.097 GC heap after
|
||||
Heap after GC invocations=5 (full 0):
|
||||
PSYoungGen total 135168K, used 10232K [0x000000076ef80000, 0x0000000777d80000, 0x00000007c0000000)
|
||||
eden space 124928K, 0% used [0x000000076ef80000,0x000000076ef80000,0x0000000776980000)
|
||||
from space 10240K, 99% used [0x0000000776980000,0x000000077737e070,0x0000000777380000)
|
||||
to space 10240K, 0% used [0x0000000777380000,0x0000000777380000,0x0000000777d80000)
|
||||
ParOldGen total 166912K, used 27086K [0x00000006cce00000, 0x00000006d7100000, 0x000000076ef80000)
|
||||
object space 166912K, 16% used [0x00000006cce00000,0x00000006ce873a60,0x00000006d7100000)
|
||||
Metaspace used 17509K, capacity 17946K, committed 18048K, reserved 1064960K
|
||||
class space used 2034K, capacity 2156K, committed 2176K, reserved 1048576K
|
||||
}
|
||||
Event: 2.658 GC heap before
|
||||
{Heap before GC invocations=6 (full 0):
|
||||
PSYoungGen total 135168K, used 104118K [0x000000076ef80000, 0x0000000777d80000, 0x00000007c0000000)
|
||||
eden space 124928K, 75% used [0x000000076ef80000,0x0000000774b2fb00,0x0000000776980000)
|
||||
from space 10240K, 99% used [0x0000000776980000,0x000000077737e070,0x0000000777380000)
|
||||
to space 10240K, 0% used [0x0000000777380000,0x0000000777380000,0x0000000777d80000)
|
||||
ParOldGen total 166912K, used 27086K [0x00000006cce00000, 0x00000006d7100000, 0x000000076ef80000)
|
||||
object space 166912K, 16% used [0x00000006cce00000,0x00000006ce873a60,0x00000006d7100000)
|
||||
Metaspace used 20711K, capacity 21256K, committed 21296K, reserved 1069056K
|
||||
class space used 2435K, capacity 2599K, committed 2608K, reserved 1048576K
|
||||
Event: 2.666 GC heap after
|
||||
Heap after GC invocations=6 (full 0):
|
||||
PSYoungGen total 135168K, used 10216K [0x000000076ef80000, 0x0000000777d80000, 0x00000007c0000000)
|
||||
eden space 124928K, 0% used [0x000000076ef80000,0x000000076ef80000,0x0000000776980000)
|
||||
from space 10240K, 99% used [0x0000000777380000,0x0000000777d7a040,0x0000000777d80000)
|
||||
to space 10240K, 0% used [0x0000000776980000,0x0000000776980000,0x0000000777380000)
|
||||
ParOldGen total 166912K, used 33244K [0x00000006cce00000, 0x00000006d7100000, 0x000000076ef80000)
|
||||
object space 166912K, 19% used [0x00000006cce00000,0x00000006cee773d8,0x00000006d7100000)
|
||||
Metaspace used 20711K, capacity 21256K, committed 21296K, reserved 1069056K
|
||||
class space used 2435K, capacity 2599K, committed 2608K, reserved 1048576K
|
||||
}
|
||||
Event: 2.666 GC heap before
|
||||
{Heap before GC invocations=7 (full 1):
|
||||
PSYoungGen total 135168K, used 10216K [0x000000076ef80000, 0x0000000777d80000, 0x00000007c0000000)
|
||||
eden space 124928K, 0% used [0x000000076ef80000,0x000000076ef80000,0x0000000776980000)
|
||||
from space 10240K, 99% used [0x0000000777380000,0x0000000777d7a040,0x0000000777d80000)
|
||||
to space 10240K, 0% used [0x0000000776980000,0x0000000776980000,0x0000000777380000)
|
||||
ParOldGen total 166912K, used 33244K [0x00000006cce00000, 0x00000006d7100000, 0x000000076ef80000)
|
||||
object space 166912K, 19% used [0x00000006cce00000,0x00000006cee773d8,0x00000006d7100000)
|
||||
Metaspace used 20711K, capacity 21256K, committed 21296K, reserved 1069056K
|
||||
class space used 2435K, capacity 2599K, committed 2608K, reserved 1048576K
|
||||
Event: 2.734 GC heap after
|
||||
Heap after GC invocations=7 (full 1):
|
||||
PSYoungGen total 135168K, used 0K [0x000000076ef80000, 0x0000000777d80000, 0x00000007c0000000)
|
||||
eden space 124928K, 0% used [0x000000076ef80000,0x000000076ef80000,0x0000000776980000)
|
||||
from space 10240K, 0% used [0x0000000777380000,0x0000000777380000,0x0000000777d80000)
|
||||
to space 10240K, 0% used [0x0000000776980000,0x0000000776980000,0x0000000777380000)
|
||||
ParOldGen total 146944K, used 38311K [0x00000006cce00000, 0x00000006d5d80000, 0x000000076ef80000)
|
||||
object space 146944K, 26% used [0x00000006cce00000,0x00000006cf369ce0,0x00000006d5d80000)
|
||||
Metaspace used 20711K, capacity 21256K, committed 21296K, reserved 1069056K
|
||||
class space used 2435K, capacity 2599K, committed 2608K, reserved 1048576K
|
||||
}
|
||||
Event: 3.825 GC heap before
|
||||
{Heap before GC invocations=8 (full 1):
|
||||
PSYoungGen total 135168K, used 124928K [0x000000076ef80000, 0x0000000777d80000, 0x00000007c0000000)
|
||||
eden space 124928K, 100% used [0x000000076ef80000,0x0000000776980000,0x0000000776980000)
|
||||
from space 10240K, 0% used [0x0000000777380000,0x0000000777380000,0x0000000777d80000)
|
||||
to space 10240K, 0% used [0x0000000776980000,0x0000000776980000,0x0000000777380000)
|
||||
ParOldGen total 146944K, used 38311K [0x00000006cce00000, 0x00000006d5d80000, 0x000000076ef80000)
|
||||
object space 146944K, 26% used [0x00000006cce00000,0x00000006cf369ce0,0x00000006d5d80000)
|
||||
Metaspace used 23656K, capacity 24254K, committed 24368K, reserved 1071104K
|
||||
class space used 2698K, capacity 2829K, committed 2864K, reserved 1048576K
|
||||
Event: 3.839 GC heap after
|
||||
Heap after GC invocations=8 (full 1):
|
||||
PSYoungGen total 135168K, used 10215K [0x000000076ef80000, 0x000000077e080000, 0x00000007c0000000)
|
||||
eden space 124928K, 0% used [0x000000076ef80000,0x000000076ef80000,0x0000000776980000)
|
||||
from space 10240K, 99% used [0x0000000776980000,0x0000000777379eb0,0x0000000777380000)
|
||||
to space 32256K, 0% used [0x000000077c100000,0x000000077c100000,0x000000077e080000)
|
||||
ParOldGen total 146944K, used 61147K [0x00000006cce00000, 0x00000006d5d80000, 0x000000076ef80000)
|
||||
object space 146944K, 41% used [0x00000006cce00000,0x00000006d09b6c28,0x00000006d5d80000)
|
||||
Metaspace used 23656K, capacity 24254K, committed 24368K, reserved 1071104K
|
||||
class space used 2698K, capacity 2829K, committed 2864K, reserved 1048576K
|
||||
}
|
||||
|
||||
Deoptimization events (10 events):
|
||||
Event: 4.152 Thread 0x00000139f6702000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000013980be9848 method=java.util.Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntry.getValue()Ljava/lang/Object; @ 4
|
||||
Event: 4.152 Thread 0x00000139f6702000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000013980b799d0 method=java.util.Collections$UnmodifiableMap$UnmodifiableEntrySet$1.hasNext()Z @ 4
|
||||
Event: 4.152 Thread 0x00000139f6702000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000013980b85368 method=java.util.Collections$UnmodifiableMap$UnmodifiableEntrySet$1.next()Ljava/util/Map$Entry; @ 8
|
||||
Event: 4.152 Thread 0x00000139f6702000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000013980b83c08 method=java.util.Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntry.getKey()Ljava/lang/Object; @ 4
|
||||
Event: 4.152 Thread 0x00000139f6702000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000013980be9848 method=java.util.Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntry.getValue()Ljava/lang/Object; @ 4
|
||||
Event: 4.153 Thread 0x00000139f6702000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000013981392b64 method=java.io.WinNTFileSystem.resolve(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; @ 117
|
||||
Event: 4.197 Thread 0x00000139f6702000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x000001398146ac68 method=lombok.javac.JavacNode.traverse(Llombok/javac/JavacASTVisitor;)V @ 193
|
||||
Event: 4.197 Thread 0x00000139f6702000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x000001398146acf4 method=lombok.javac.JavacNode.traverse(Llombok/javac/JavacASTVisitor;)V @ 369
|
||||
Event: 4.197 Thread 0x00000139f6702000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x000001398146acf4 method=lombok.javac.JavacNode.traverse(Llombok/javac/JavacASTVisitor;)V @ 369
|
||||
Event: 4.197 Thread 0x00000139f6702000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x000001398146acf4 method=lombok.javac.JavacNode.traverse(Llombok/javac/JavacASTVisitor;)V @ 369
|
||||
|
||||
Classes redefined (0 events):
|
||||
No events
|
||||
|
||||
Internal exceptions (10 events):
|
||||
Event: 1.561 Thread 0x00000139f6702000 Implicit null exception at 0x000001398055b36f to 0x000001398055b3d9
|
||||
Event: 1.655 Thread 0x00000139f6702000 Implicit null exception at 0x0000013980a26017 to 0x0000013980a2644d
|
||||
Event: 1.656 Thread 0x00000139f6702000 Implicit null exception at 0x0000013980a3a51b to 0x0000013980a3a5d2
|
||||
Event: 1.686 Thread 0x00000139f6702000 Exception <a 'java/lang/reflect/InvocationTargetException'> (0x00000007716a69c8) thrown at [C:\jenkins\workspace\8-2-build-windows-x64-cygwin-sans-NAS\jdk8u401\683\hotspot\src\share\vm\runtime\reflection.cpp, line 1092]
|
||||
Event: 1.687 Thread 0x00000139f6702000 Exception <a 'java/lang/reflect/InvocationTargetException'> (0x00000007716ab868) thrown at [C:\jenkins\workspace\8-2-build-windows-x64-cygwin-sans-NAS\jdk8u401\683\hotspot\src\share\vm\runtime\reflection.cpp, line 1092]
|
||||
Event: 2.293 Thread 0x00000139f6702000 Implicit null exception at 0x0000013980faec06 to 0x0000013980faf301
|
||||
Event: 2.592 Thread 0x00000139f6702000 Exception <a 'java/lang/ClassNotFoundException': com/sun/tools/javac/api/JavacTool> (0x000000077421eb68) thrown at [C:\jenkins\workspace\8-2-build-windows-x64-cygwin-sans-NAS\jdk8u401\683\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 213]
|
||||
Event: 3.042 Thread 0x00000139f6702000 Exception <a 'java/io/FileNotFoundException'> (0x0000000771a98910) thrown at [C:\jenkins\workspace\8-2-build-windows-x64-cygwin-sans-NAS\jdk8u401\683\hotspot\src\share\vm\prims\jni.cpp, line 710]
|
||||
Event: 4.039 Thread 0x00000139f6702000 Implicit null exception at 0x0000013980883773 to 0x0000013980883bb9
|
||||
Event: 4.041 Thread 0x00000139f6702000 Implicit null exception at 0x0000013980845b15 to 0x0000013980845d15
|
||||
|
||||
Events (10 events):
|
||||
Event: 4.197 Thread 0x00000139f6702000 DEOPT UNPACKING pc=0x00000139800458c3 sp=0x0000000b47bfd5e0 mode 2
|
||||
Event: 4.197 Thread 0x00000139f6702000 Uncommon trap: trap_request=0xffffffde fr.pc=0x000001398146acf4
|
||||
Event: 4.197 Thread 0x00000139f6702000 DEOPT PACKING pc=0x000001398146acf4 sp=0x0000000b47bfd570
|
||||
Event: 4.197 Thread 0x00000139f6702000 DEOPT UNPACKING pc=0x00000139800458c3 sp=0x0000000b47bfd500 mode 2
|
||||
Event: 4.197 Thread 0x00000139f6702000 Uncommon trap: trap_request=0xffffffde fr.pc=0x000001398146acf4
|
||||
Event: 4.197 Thread 0x00000139f6702000 DEOPT PACKING pc=0x000001398146acf4 sp=0x0000000b47bfd490
|
||||
Event: 4.197 Thread 0x00000139f6702000 DEOPT UNPACKING pc=0x00000139800458c3 sp=0x0000000b47bfd420 mode 2
|
||||
Event: 4.197 Thread 0x00000139f6702000 Uncommon trap: trap_request=0xffffffde fr.pc=0x000001398146acf4
|
||||
Event: 4.197 Thread 0x00000139f6702000 DEOPT PACKING pc=0x000001398146acf4 sp=0x0000000b47bfd3b0
|
||||
Event: 4.197 Thread 0x00000139f6702000 DEOPT UNPACKING pc=0x00000139800458c3 sp=0x0000000b47bfd340 mode 2
|
||||
|
||||
|
||||
Dynamic libraries:
|
||||
0x00007ff68a040000 - 0x00007ff68a08a000 D:\Java\jdk\bin\java.exe
|
||||
0x00007fff9cab0000 - 0x00007fff9ccc7000 C:\WINDOWS\SYSTEM32\ntdll.dll
|
||||
0x00007fff9b870000 - 0x00007fff9b934000 C:\WINDOWS\System32\KERNEL32.DLL
|
||||
0x00007fff9a2c0000 - 0x00007fff9a67a000 C:\WINDOWS\System32\KERNELBASE.dll
|
||||
0x00007fff9be10000 - 0x00007fff9bec2000 C:\WINDOWS\System32\ADVAPI32.dll
|
||||
0x00007fff9b7b0000 - 0x00007fff9b857000 C:\WINDOWS\System32\msvcrt.dll
|
||||
0x00007fff9b940000 - 0x00007fff9b9e7000 C:\WINDOWS\System32\sechost.dll
|
||||
0x00007fff9a000000 - 0x00007fff9a028000 C:\WINDOWS\System32\bcrypt.dll
|
||||
0x00007fff9bee0000 - 0x00007fff9bff4000 C:\WINDOWS\System32\RPCRT4.dll
|
||||
0x00007fff9b4a0000 - 0x00007fff9b64e000 C:\WINDOWS\System32\USER32.dll
|
||||
0x00007fff99d70000 - 0x00007fff99d96000 C:\WINDOWS\System32\win32u.dll
|
||||
0x00007fff9b720000 - 0x00007fff9b749000 C:\WINDOWS\System32\GDI32.dll
|
||||
0x00007fff99e60000 - 0x00007fff99f7b000 C:\WINDOWS\System32\gdi32full.dll
|
||||
0x00007fff9a220000 - 0x00007fff9a2ba000 C:\WINDOWS\System32\msvcp_win.dll
|
||||
0x00007fff9a680000 - 0x00007fff9a791000 C:\WINDOWS\System32\ucrtbase.dll
|
||||
0x00007fff89560000 - 0x00007fff897f2000 C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.22621.4541_none_2710d1c57384c085\COMCTL32.dll
|
||||
0x00007fff9c1e0000 - 0x00007fff9c211000 C:\WINDOWS\System32\IMM32.DLL
|
||||
0x00007fff8b4f0000 - 0x00007fff8b50b000 D:\Java\jdk\jre\bin\vcruntime140.dll
|
||||
0x00007fff93c60000 - 0x00007fff93c6c000 D:\Java\jdk\jre\bin\vcruntime140_1.dll
|
||||
0x00007fff81830000 - 0x00007fff818be000 D:\Java\jdk\jre\bin\msvcp140.dll
|
||||
0x00007fff4b9a0000 - 0x00007fff4c250000 D:\Java\jdk\jre\bin\server\jvm.dll
|
||||
0x00007fff9be00000 - 0x00007fff9be08000 C:\WINDOWS\System32\PSAPI.DLL
|
||||
0x00007fff7c080000 - 0x00007fff7c089000 C:\WINDOWS\SYSTEM32\WSOCK32.dll
|
||||
0x00007fff93b50000 - 0x00007fff93b5a000 C:\WINDOWS\SYSTEM32\VERSION.dll
|
||||
0x00007fff9b6a0000 - 0x00007fff9b711000 C:\WINDOWS\System32\WS2_32.dll
|
||||
0x00007fff91c10000 - 0x00007fff91c44000 C:\WINDOWS\SYSTEM32\WINMM.dll
|
||||
0x00007fff98db0000 - 0x00007fff98dc8000 C:\WINDOWS\SYSTEM32\kernel.appcore.dll
|
||||
0x00007fff92f50000 - 0x00007fff92f60000 D:\Java\jdk\jre\bin\verify.dll
|
||||
0x00007fff8b300000 - 0x00007fff8b32b000 D:\Java\jdk\jre\bin\java.dll
|
||||
0x00007fff80760000 - 0x00007fff80794000 D:\Java\jdk\jre\bin\instrument.dll
|
||||
0x00007fff8b4b0000 - 0x00007fff8b4c8000 D:\Java\jdk\jre\bin\zip.dll
|
||||
0x00007fff9ac20000 - 0x00007fff9b499000 C:\WINDOWS\System32\SHELL32.dll
|
||||
0x00007fff97cb0000 - 0x00007fff985b9000 C:\WINDOWS\SYSTEM32\windows.storage.dll
|
||||
0x00007fff9c300000 - 0x00007fff9c691000 C:\WINDOWS\System32\combase.dll
|
||||
0x00007fff97b70000 - 0x00007fff97caf000 C:\WINDOWS\SYSTEM32\wintypes.dll
|
||||
0x00007fff9c970000 - 0x00007fff9ca6a000 C:\WINDOWS\System32\SHCORE.dll
|
||||
0x00007fff9b750000 - 0x00007fff9b7ae000 C:\WINDOWS\System32\shlwapi.dll
|
||||
0x00007fff99ca0000 - 0x00007fff99ccb000 C:\WINDOWS\SYSTEM32\profapi.dll
|
||||
0x00007fff7b090000 - 0x00007fff7b0aa000 D:\software\idea\IntelliJ IDEA 2023.3.6\bin\breakgen64.dll
|
||||
0x00007fff8b190000 - 0x00007fff8b1ac000 D:\java\jdk\jre\bin\net.dll
|
||||
0x00007fff99230000 - 0x00007fff99299000 C:\WINDOWS\system32\mswsock.dll
|
||||
0x00007fff99490000 - 0x00007fff994ab000 C:\WINDOWS\SYSTEM32\CRYPTSP.dll
|
||||
0x00007fff98d10000 - 0x00007fff98d45000 C:\WINDOWS\system32\rsaenh.dll
|
||||
0x00007fff99320000 - 0x00007fff99348000 C:\WINDOWS\SYSTEM32\USERENV.dll
|
||||
0x00007fff9a030000 - 0x00007fff9a0ab000 C:\WINDOWS\System32\bcryptprimitives.dll
|
||||
0x00007fff99480000 - 0x00007fff9948c000 C:\WINDOWS\SYSTEM32\CRYPTBASE.dll
|
||||
0x00007fff98810000 - 0x00007fff9883d000 C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL
|
||||
0x00007fff9bed0000 - 0x00007fff9bed9000 C:\WINDOWS\System32\NSI.dll
|
||||
0x00007fff95f40000 - 0x00007fff95f59000 C:\WINDOWS\SYSTEM32\dhcpcsvc6.DLL
|
||||
0x00007fff95f20000 - 0x00007fff95f3f000 C:\WINDOWS\SYSTEM32\dhcpcsvc.DLL
|
||||
0x00007fff98840000 - 0x00007fff98942000 C:\WINDOWS\SYSTEM32\DNSAPI.dll
|
||||
0x00007fff8b150000 - 0x00007fff8b163000 D:\java\jdk\jre\bin\nio.dll
|
||||
0x00007fff81d20000 - 0x00007fff81d2a000 C:\Users\86157\AppData\Local\Temp\jansi-1.17.1-8262493553156220522.dll
|
||||
0x00007fff97590000 - 0x00007fff977c2000 C:\WINDOWS\SYSTEM32\dbghelp.dll
|
||||
0x00007fff9c220000 - 0x00007fff9c2f7000 C:\WINDOWS\System32\OLEAUT32.dll
|
||||
|
||||
VM Arguments:
|
||||
jvm_args: -Dmaven.multiModuleProjectDirectory=F:\workspace\idea\zhgd\zhgd-ht-service -Djansi.passthrough=true -Dmaven.home=D:\maven\apache-maven-3.6.1 -Dclassworlds.conf=D:\maven\apache-maven-3.6.1\bin\m2.conf -Dmaven.ext.class.path=D:\software\idea\IntelliJ IDEA 2023.3.6\plugins\maven\lib\maven-event-listener.jar -javaagent:D:\software\idea\IntelliJ IDEA 2023.3.6\lib\idea_rt.jar=51227:D:\software\idea\IntelliJ IDEA 2023.3.6\bin -Dfile.encoding=UTF-8
|
||||
java_command: org.codehaus.classworlds.Launcher -Didea.version=2023.3.8 -s D:\maven\apache-maven-3.6.1\conf\settings.xml -Dmaven.repo.local=D:\maven\apache-maven-3.6.1\conf\zhgdRepo install
|
||||
java_class_path (initial): D:\maven\apache-maven-3.6.1\boot\plexus-classworlds-2.6.0.jar;D:\software\idea\IntelliJ IDEA 2023.3.6\lib\idea_rt.jar
|
||||
Launcher Type: SUN_STANDARD
|
||||
|
||||
Environment Variables:
|
||||
JAVA_HOME=D:\java\jdk
|
||||
CLASSPATH=.;D:\java\jdk\lib;D:\java\jdk\lib\tools.jar
|
||||
PATH=D:\software\FortifySC\bin;C:\app\heizi\product\11.2.0\dbhome_3\bin;C:\app\ºÚ×Ó\product\11.2.0\dbhome_3\bin;C;\app\ºÚ×Ó\product\11.2.0\dbhome_2\bin;C;\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;D:\software\bandizip\;D:\java\jdk\bin;D:\java\jdk\jre\bin;%CATALINA_HOME%\bin;%CATALINA_BASE%\bin;D:\maven\apache-maven-3.6.1\bin;D:\software\xshell\;D:\software\xftp\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;G:\software\svn\bin;D:\software\svn\bin;D:\software\nvmHome\nvm\nvm;D:\software\nvmHome\node;D:\software\TortoiseGit\bin;C:\Program Files\Git\cmd;D:\software\xshell8\;D:\software\xftp8\;C:\Users\86157\AppData\Local\Microsoft\WindowsApps;D:\software\nvmHome\nvm\nvm;D:\software\nvmHome\node;D:\software\namp\Nmap;D:\software\qqyouxi\QQGameTempest\Hall.58319\;D:\software\idea\IntelliJ IDEA 2023.3.6\bin;;D:\software\Microsoft VS Code\bin
|
||||
USERNAME=ºÚ×Ó
|
||||
OS=Windows_NT
|
||||
PROCESSOR_IDENTIFIER=AMD64 Family 25 Model 68 Stepping 1, AuthenticAMD
|
||||
|
||||
|
||||
|
||||
--------------- S Y S T E M ---------------
|
||||
|
||||
OS: Windows 11 , 64 bit Build 22621 (10.0.22621.4391)
|
||||
|
||||
CPU:total 16 (initial active 16) (16 cores per cpu, 1 threads per core) family 25 model 68 stepping 1, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, erms, mmxext, 3dnowpref, lzcnt, sse4a, tsc, tscinvbit, tscinv, bmi1
|
||||
|
||||
Memory: 4k page, physical 15930072k(614432k free), swap 33980500k(4128k free)
|
||||
|
||||
vm_info: Java HotSpot(TM) 64-Bit Server VM (25.401-b10) for windows-amd64 JRE (1.8.0_401-b10), built on Dec 19 2023 12:38:48 by "java_re" with MS VC++ 17.1 (VS2022)
|
||||
|
||||
time: Tue Mar 11 15:41:05 2025
|
||||
timezone: AMD64 Family 25 Model 68 Stepping 1, AuthenticAMD
|
||||
elapsed time: 4.231551 seconds (0d 0h 0m 4s)
|
||||
|
||||
|
|
@ -0,0 +1,366 @@
|
|||
#
|
||||
# There is insufficient memory for the Java Runtime Environment to continue.
|
||||
# Native memory allocation (malloc) failed to allocate 152736 bytes for Chunk::new
|
||||
# Possible reasons:
|
||||
# The system is out of physical RAM or swap space
|
||||
# The process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap
|
||||
# Possible solutions:
|
||||
# Reduce memory load on the system
|
||||
# Increase physical memory or swap space
|
||||
# Check if swap backing store is full
|
||||
# Decrease Java heap size (-Xmx/-Xms)
|
||||
# Decrease number of Java threads
|
||||
# Decrease Java thread stack sizes (-Xss)
|
||||
# Set larger code cache with -XX:ReservedCodeCacheSize=
|
||||
# JVM is running with Zero Based Compressed Oops mode in which the Java heap is
|
||||
# placed in the first 32GB address space. The Java Heap base address is the
|
||||
# maximum limit for the native heap growth. Please use -XX:HeapBaseMinAddress
|
||||
# to set the Java Heap base and to place the Java Heap above 32GB virtual address.
|
||||
# This output file may be truncated or incomplete.
|
||||
#
|
||||
# Out of Memory Error (allocation.cpp:389), pid=32560, tid=0x0000000000007220
|
||||
#
|
||||
# JRE version: Java(TM) SE Runtime Environment (8.0_401) (build 1.8.0_401-b10)
|
||||
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.401-b10 mixed mode windows-amd64 compressed oops)
|
||||
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
|
||||
#
|
||||
|
||||
--------------- T H R E A D ---------------
|
||||
|
||||
Current thread (0x000002abca969000): JavaThread "C2 CompilerThread3" daemon [_thread_in_native, id=29216, stack(0x000000b398100000,0x000000b398200000)]
|
||||
|
||||
Stack: [0x000000b398100000,0x000000b398200000]
|
||||
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
|
||||
V [jvm.dll+0x3530d9]
|
||||
V [jvm.dll+0x290072]
|
||||
V [jvm.dll+0x290c3d]
|
||||
V [jvm.dll+0x285275]
|
||||
V [jvm.dll+0xdbbbc]
|
||||
V [jvm.dll+0xdc3cc]
|
||||
V [jvm.dll+0xdbf16]
|
||||
V [jvm.dll+0xfe4b5]
|
||||
V [jvm.dll+0x4c57c4]
|
||||
V [jvm.dll+0x4c2f30]
|
||||
V [jvm.dll+0x4bf9b9]
|
||||
V [jvm.dll+0x4bfa15]
|
||||
V [jvm.dll+0x4bd482]
|
||||
V [jvm.dll+0x46a9d4]
|
||||
V [jvm.dll+0x468572]
|
||||
V [jvm.dll+0x4523ac]
|
||||
V [jvm.dll+0xb08f6]
|
||||
V [jvm.dll+0xaefcf]
|
||||
V [jvm.dll+0x2515d2]
|
||||
V [jvm.dll+0x2acb3c]
|
||||
C [ucrtbase.dll+0x29333]
|
||||
C [KERNEL32.DLL+0x1259d]
|
||||
C [ntdll.dll+0x5af38]
|
||||
|
||||
|
||||
Current CompileTask:
|
||||
C2: 4819 5601 4 lombok.javac.JavacAST::buildStatementOrExpression (104 bytes)
|
||||
|
||||
|
||||
--------------- P R O C E S S ---------------
|
||||
|
||||
Java Threads: ( => current thread )
|
||||
0x000002abcaa5a800 JavaThread "Service Thread" daemon [_thread_blocked, id=13168, stack(0x000000b398a00000,0x000000b398b00000)]
|
||||
0x000002abcaa28000 JavaThread "C1 CompilerThread11" daemon [_thread_blocked, id=29588, stack(0x000000b398900000,0x000000b398a00000)]
|
||||
0x000002abcaa1f800 JavaThread "C1 CompilerThread10" daemon [_thread_blocked, id=17020, stack(0x000000b398800000,0x000000b398900000)]
|
||||
0x000002abca9af800 JavaThread "C1 CompilerThread9" daemon [_thread_blocked, id=35684, stack(0x000000b398700000,0x000000b398800000)]
|
||||
0x000002abca996800 JavaThread "C1 CompilerThread8" daemon [_thread_blocked, id=21188, stack(0x000000b398600000,0x000000b398700000)]
|
||||
0x000002abca98c000 JavaThread "C2 CompilerThread7" daemon [_thread_in_native, id=32640, stack(0x000000b398500000,0x000000b398600000)]
|
||||
0x000002abca983000 JavaThread "C2 CompilerThread6" daemon [_thread_in_native, id=6536, stack(0x000000b398400000,0x000000b398500000)]
|
||||
0x000002abca97d800 JavaThread "C2 CompilerThread5" daemon [_thread_in_native, id=35708, stack(0x000000b398300000,0x000000b398400000)]
|
||||
0x000002abca96e800 JavaThread "C2 CompilerThread4" daemon [_thread_in_native, id=32984, stack(0x000000b398200000,0x000000b398300000)]
|
||||
=>0x000002abca969000 JavaThread "C2 CompilerThread3" daemon [_thread_in_native, id=29216, stack(0x000000b398100000,0x000000b398200000)]
|
||||
0x000002abca966000 JavaThread "C2 CompilerThread2" daemon [_thread_in_native, id=19304, stack(0x000000b398000000,0x000000b398100000)]
|
||||
0x000002abca964800 JavaThread "C2 CompilerThread1" daemon [_thread_in_native, id=34136, stack(0x000000b397f00000,0x000000b398000000)]
|
||||
0x000002abca962800 JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=18156, stack(0x000000b397e00000,0x000000b397f00000)]
|
||||
0x000002abca959800 JavaThread "Monitor Ctrl-Break" daemon [_thread_in_native, id=34288, stack(0x000000b397d00000,0x000000b397e00000)]
|
||||
0x000002abca917000 JavaThread "Attach Listener" daemon [_thread_blocked, id=13296, stack(0x000000b397c00000,0x000000b397d00000)]
|
||||
0x000002abca914000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=36616, stack(0x000000b397b00000,0x000000b397c00000)]
|
||||
0x000002abca8b1000 JavaThread "Finalizer" daemon [_thread_blocked, id=24748, stack(0x000000b397a00000,0x000000b397b00000)]
|
||||
0x000002abca8b0800 JavaThread "Reference Handler" daemon [_thread_blocked, id=33208, stack(0x000000b397900000,0x000000b397a00000)]
|
||||
0x000002abad563800 JavaThread "main" [_thread_in_Java, id=35760, stack(0x000000b396a00000,0x000000b396b00000)]
|
||||
|
||||
Other Threads:
|
||||
0x000002abc7baa000 VMThread [stack: 0x000000b397800000,0x000000b397900000] [id=6128]
|
||||
0x000002abcaa3d800 WatcherThread [stack: 0x000000b398b00000,0x000000b398c00000] [id=16236]
|
||||
|
||||
VM state:not at safepoint (normal execution)
|
||||
|
||||
VM Mutex/Monitor currently owned by a thread: None
|
||||
|
||||
heap address: 0x00000006cce00000, size: 3890 MB, Compressed Oops mode: Zero based, Oop shift amount: 3
|
||||
Narrow klass base: 0x0000000000000000, Narrow klass shift: 3
|
||||
Compressed class space size: 1073741824 Address: 0x00000007c0000000
|
||||
|
||||
Heap:
|
||||
PSYoungGen total 135168K, used 81757K [0x000000076ef80000, 0x000000077de80000, 0x00000007c0000000)
|
||||
eden space 124928K, 57% used [0x000000076ef80000,0x000000077355a548,0x0000000776980000)
|
||||
from space 10240K, 99% used [0x0000000776980000,0x000000077737d1f0,0x0000000777380000)
|
||||
to space 32256K, 0% used [0x000000077bf00000,0x000000077bf00000,0x000000077de80000)
|
||||
ParOldGen total 147456K, used 61044K [0x00000006cce00000, 0x00000006d5e00000, 0x000000076ef80000)
|
||||
object space 147456K, 41% used [0x00000006cce00000,0x00000006d099d058,0x00000006d5e00000)
|
||||
Metaspace used 25018K, capacity 25724K, committed 25904K, reserved 1073152K
|
||||
class space used 2856K, capacity 3061K, committed 3120K, reserved 1048576K
|
||||
|
||||
Card table byte_map: [0x000002abbe290000,0x000002abbea30000] byte_map_base: 0x000002abbac29000
|
||||
|
||||
Marking Bits: (ParMarkBitMap*) 0x00007fff4c1d5fc0
|
||||
Begin Bits: [0x000002abbef50000, 0x000002abc2c18000)
|
||||
End Bits: [0x000002abc2c18000, 0x000002abc68e0000)
|
||||
|
||||
Polling page: 0x000002abad680000
|
||||
|
||||
CodeCache: size=245760Kb used=21424Kb max_used=21433Kb free=224335Kb
|
||||
bounds [0x000002abaeed0000, 0x000002abb03e0000, 0x000002abbded0000]
|
||||
total_blobs=5538 nmethods=5119 adapters=329
|
||||
compilation: enabled
|
||||
|
||||
Compilation events (10 events):
|
||||
Event: 4.790 Thread 0x000002abca9af800 5660 3 com.sun.tools.javac.util.Context::key (50 bytes)
|
||||
Event: 4.790 Thread 0x000002abca966000 nmethod 5639% 0x000002abb039e610 code [0x000002abb039e780, 0x000002abb039ebf8]
|
||||
Event: 4.790 Thread 0x000002abca966000 5649 4 java.net.URI$Parser::scan (73 bytes)
|
||||
Event: 4.790 Thread 0x000002abca9af800 nmethod 5660 0x000002abb039f910 code [0x000002abb039fae0, 0x000002abb03a01d0]
|
||||
Event: 4.791 Thread 0x000002abca9af800 5662 3 lombok.javac.JavacASTAdapter::visitLocal (1 bytes)
|
||||
Event: 4.791 Thread 0x000002abca9af800 nmethod 5662 0x000002abb03a5e10 code [0x000002abb03a5f60, 0x000002abb03a60b8]
|
||||
Event: 4.791 Thread 0x000002abcaa1f800 5663 3 java.net.URI::equal (158 bytes)
|
||||
Event: 4.791 Thread 0x000002abcaa1f800 nmethod 5663 0x000002abb03ad690 code [0x000002abb03ad980, 0x000002abb03af4c0]
|
||||
Event: 4.792 Thread 0x000002abca966000 nmethod 5649 0x000002abb039f250 code [0x000002abb039f3a0, 0x000002abb039f608]
|
||||
Event: 4.792 Thread 0x000002abca966000 5661 % 4 java.net.URI::needsNormalization @ 48 (184 bytes)
|
||||
|
||||
GC Heap History (10 events):
|
||||
Event: 1.523 GC heap before
|
||||
{Heap before GC invocations=4 (full 0):
|
||||
PSYoungGen total 72704K, used 72680K [0x000000076ef80000, 0x0000000777d80000, 0x00000007c0000000)
|
||||
eden space 62464K, 100% used [0x000000076ef80000,0x0000000772c80000,0x0000000772c80000)
|
||||
from space 10240K, 99% used [0x0000000772c80000,0x000000077367a040,0x0000000773680000)
|
||||
to space 10240K, 0% used [0x0000000777380000,0x0000000777380000,0x0000000777d80000)
|
||||
ParOldGen total 166912K, used 5863K [0x00000006cce00000, 0x00000006d7100000, 0x000000076ef80000)
|
||||
object space 166912K, 3% used [0x00000006cce00000,0x00000006cd3b9de0,0x00000006d7100000)
|
||||
Metaspace used 15720K, capacity 16050K, committed 16384K, reserved 1062912K
|
||||
class space used 1899K, capacity 1980K, committed 2048K, reserved 1048576K
|
||||
Event: 1.530 GC heap after
|
||||
Heap after GC invocations=4 (full 0):
|
||||
PSYoungGen total 135168K, used 10232K [0x000000076ef80000, 0x0000000777d80000, 0x00000007c0000000)
|
||||
eden space 124928K, 0% used [0x000000076ef80000,0x000000076ef80000,0x0000000776980000)
|
||||
from space 10240K, 99% used [0x0000000777380000,0x0000000777d7e070,0x0000000777d80000)
|
||||
to space 10240K, 0% used [0x0000000776980000,0x0000000776980000,0x0000000777380000)
|
||||
ParOldGen total 166912K, used 13390K [0x00000006cce00000, 0x00000006d7100000, 0x000000076ef80000)
|
||||
object space 166912K, 8% used [0x00000006cce00000,0x00000006cdb13b70,0x00000006d7100000)
|
||||
Metaspace used 15720K, capacity 16050K, committed 16384K, reserved 1062912K
|
||||
class space used 1899K, capacity 1980K, committed 2048K, reserved 1048576K
|
||||
}
|
||||
Event: 2.295 GC heap before
|
||||
{Heap before GC invocations=5 (full 0):
|
||||
PSYoungGen total 135168K, used 135160K [0x000000076ef80000, 0x0000000777d80000, 0x00000007c0000000)
|
||||
eden space 124928K, 100% used [0x000000076ef80000,0x0000000776980000,0x0000000776980000)
|
||||
from space 10240K, 99% used [0x0000000777380000,0x0000000777d7e070,0x0000000777d80000)
|
||||
to space 10240K, 0% used [0x0000000776980000,0x0000000776980000,0x0000000777380000)
|
||||
ParOldGen total 166912K, used 13390K [0x00000006cce00000, 0x00000006d7100000, 0x000000076ef80000)
|
||||
object space 166912K, 8% used [0x00000006cce00000,0x00000006cdb13b70,0x00000006d7100000)
|
||||
Metaspace used 17507K, capacity 18010K, committed 18304K, reserved 1064960K
|
||||
class space used 2032K, capacity 2156K, committed 2176K, reserved 1048576K
|
||||
Event: 2.305 GC heap after
|
||||
Heap after GC invocations=5 (full 0):
|
||||
PSYoungGen total 135168K, used 10216K [0x000000076ef80000, 0x0000000777d80000, 0x00000007c0000000)
|
||||
eden space 124928K, 0% used [0x000000076ef80000,0x000000076ef80000,0x0000000776980000)
|
||||
from space 10240K, 99% used [0x0000000776980000,0x000000077737a060,0x0000000777380000)
|
||||
to space 10240K, 0% used [0x0000000777380000,0x0000000777380000,0x0000000777d80000)
|
||||
ParOldGen total 166912K, used 27007K [0x00000006cce00000, 0x00000006d7100000, 0x000000076ef80000)
|
||||
object space 166912K, 16% used [0x00000006cce00000,0x00000006ce85fd30,0x00000006d7100000)
|
||||
Metaspace used 17507K, capacity 18010K, committed 18304K, reserved 1064960K
|
||||
class space used 2032K, capacity 2156K, committed 2176K, reserved 1048576K
|
||||
}
|
||||
Event: 3.109 GC heap before
|
||||
{Heap before GC invocations=6 (full 0):
|
||||
PSYoungGen total 135168K, used 104524K [0x000000076ef80000, 0x0000000777d80000, 0x00000007c0000000)
|
||||
eden space 124928K, 75% used [0x000000076ef80000,0x0000000774b992e8,0x0000000776980000)
|
||||
from space 10240K, 99% used [0x0000000776980000,0x000000077737a060,0x0000000777380000)
|
||||
to space 10240K, 0% used [0x0000000777380000,0x0000000777380000,0x0000000777d80000)
|
||||
ParOldGen total 166912K, used 27007K [0x00000006cce00000, 0x00000006d7100000, 0x000000076ef80000)
|
||||
object space 166912K, 16% used [0x00000006cce00000,0x00000006ce85fd30,0x00000006d7100000)
|
||||
Metaspace used 20638K, capacity 21228K, committed 21296K, reserved 1069056K
|
||||
class space used 2418K, capacity 2567K, committed 2608K, reserved 1048576K
|
||||
Event: 3.117 GC heap after
|
||||
Heap after GC invocations=6 (full 0):
|
||||
PSYoungGen total 135168K, used 10208K [0x000000076ef80000, 0x0000000777d80000, 0x00000007c0000000)
|
||||
eden space 124928K, 0% used [0x000000076ef80000,0x000000076ef80000,0x0000000776980000)
|
||||
from space 10240K, 99% used [0x0000000777380000,0x0000000777d78060,0x0000000777d80000)
|
||||
to space 10240K, 0% used [0x0000000776980000,0x0000000776980000,0x0000000777380000)
|
||||
ParOldGen total 166912K, used 32755K [0x00000006cce00000, 0x00000006d7100000, 0x000000076ef80000)
|
||||
object space 166912K, 19% used [0x00000006cce00000,0x00000006cedfccc0,0x00000006d7100000)
|
||||
Metaspace used 20638K, capacity 21228K, committed 21296K, reserved 1069056K
|
||||
class space used 2418K, capacity 2567K, committed 2608K, reserved 1048576K
|
||||
}
|
||||
Event: 3.117 GC heap before
|
||||
{Heap before GC invocations=7 (full 1):
|
||||
PSYoungGen total 135168K, used 10208K [0x000000076ef80000, 0x0000000777d80000, 0x00000007c0000000)
|
||||
eden space 124928K, 0% used [0x000000076ef80000,0x000000076ef80000,0x0000000776980000)
|
||||
from space 10240K, 99% used [0x0000000777380000,0x0000000777d78060,0x0000000777d80000)
|
||||
to space 10240K, 0% used [0x0000000776980000,0x0000000776980000,0x0000000777380000)
|
||||
ParOldGen total 166912K, used 32755K [0x00000006cce00000, 0x00000006d7100000, 0x000000076ef80000)
|
||||
object space 166912K, 19% used [0x00000006cce00000,0x00000006cedfccc0,0x00000006d7100000)
|
||||
Metaspace used 20638K, capacity 21228K, committed 21296K, reserved 1069056K
|
||||
class space used 2418K, capacity 2567K, committed 2608K, reserved 1048576K
|
||||
Event: 3.200 GC heap after
|
||||
Heap after GC invocations=7 (full 1):
|
||||
PSYoungGen total 135168K, used 0K [0x000000076ef80000, 0x0000000777d80000, 0x00000007c0000000)
|
||||
eden space 124928K, 0% used [0x000000076ef80000,0x000000076ef80000,0x0000000776980000)
|
||||
from space 10240K, 0% used [0x0000000777380000,0x0000000777380000,0x0000000777d80000)
|
||||
to space 10240K, 0% used [0x0000000776980000,0x0000000776980000,0x0000000777380000)
|
||||
ParOldGen total 147456K, used 38308K [0x00000006cce00000, 0x00000006d5e00000, 0x000000076ef80000)
|
||||
object space 147456K, 25% used [0x00000006cce00000,0x00000006cf369150,0x00000006d5e00000)
|
||||
Metaspace used 20638K, capacity 21228K, committed 21296K, reserved 1069056K
|
||||
class space used 2418K, capacity 2567K, committed 2608K, reserved 1048576K
|
||||
}
|
||||
Event: 4.258 GC heap before
|
||||
{Heap before GC invocations=8 (full 1):
|
||||
PSYoungGen total 135168K, used 124928K [0x000000076ef80000, 0x0000000777d80000, 0x00000007c0000000)
|
||||
eden space 124928K, 100% used [0x000000076ef80000,0x0000000776980000,0x0000000776980000)
|
||||
from space 10240K, 0% used [0x0000000777380000,0x0000000777380000,0x0000000777d80000)
|
||||
to space 10240K, 0% used [0x0000000776980000,0x0000000776980000,0x0000000777380000)
|
||||
ParOldGen total 147456K, used 38308K [0x00000006cce00000, 0x00000006d5e00000, 0x000000076ef80000)
|
||||
object space 147456K, 25% used [0x00000006cce00000,0x00000006cf369150,0x00000006d5e00000)
|
||||
Metaspace used 23666K, capacity 24322K, committed 24368K, reserved 1071104K
|
||||
class space used 2696K, capacity 2829K, committed 2864K, reserved 1048576K
|
||||
Event: 4.271 GC heap after
|
||||
Heap after GC invocations=8 (full 1):
|
||||
PSYoungGen total 135168K, used 10228K [0x000000076ef80000, 0x000000077de80000, 0x00000007c0000000)
|
||||
eden space 124928K, 0% used [0x000000076ef80000,0x000000076ef80000,0x0000000776980000)
|
||||
from space 10240K, 99% used [0x0000000776980000,0x000000077737d1f0,0x0000000777380000)
|
||||
to space 32256K, 0% used [0x000000077bf00000,0x000000077bf00000,0x000000077de80000)
|
||||
ParOldGen total 147456K, used 61044K [0x00000006cce00000, 0x00000006d5e00000, 0x000000076ef80000)
|
||||
object space 147456K, 41% used [0x00000006cce00000,0x00000006d099d058,0x00000006d5e00000)
|
||||
Metaspace used 23666K, capacity 24322K, committed 24368K, reserved 1071104K
|
||||
class space used 2696K, capacity 2829K, committed 2864K, reserved 1048576K
|
||||
}
|
||||
|
||||
Deoptimization events (10 events):
|
||||
Event: 4.753 Thread 0x000002abad563800 Uncommon trap: reason=class_check action=maybe_recompile pc=0x000002abafa53590 method=java.util.Collections$UnmodifiableMap$UnmodifiableEntrySet$1.hasNext()Z @ 4
|
||||
Event: 4.753 Thread 0x000002abad563800 Uncommon trap: reason=class_check action=maybe_recompile pc=0x000002abafa700e8 method=java.util.Collections$UnmodifiableMap$UnmodifiableEntrySet$1.next()Ljava/util/Map$Entry; @ 8
|
||||
Event: 4.753 Thread 0x000002abad563800 Uncommon trap: reason=class_check action=maybe_recompile pc=0x000002abafac9808 method=java.util.Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntry.getKey()Ljava/lang/Object; @ 4
|
||||
Event: 4.753 Thread 0x000002abad563800 Uncommon trap: reason=class_check action=maybe_recompile pc=0x000002abafac9a88 method=java.util.Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntry.getValue()Ljava/lang/Object; @ 4
|
||||
Event: 4.754 Thread 0x000002abad563800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x000002abb0256064 method=java.io.WinNTFileSystem.resolve(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; @ 117
|
||||
Event: 4.788 Thread 0x000002abad563800 Uncommon trap: reason=class_check action=maybe_recompile pc=0x000002abb03a27b8 method=lombok.javac.JavacNode.traverse(Llombok/javac/JavacASTVisitor;)V @ 73
|
||||
Event: 4.788 Thread 0x000002abad563800 Uncommon trap: reason=class_check action=maybe_recompile pc=0x000002abb03a27f0 method=lombok.javac.JavacNode.traverse(Llombok/javac/JavacASTVisitor;)V @ 113
|
||||
Event: 4.788 Thread 0x000002abad563800 Uncommon trap: reason=class_check action=maybe_recompile pc=0x000002abb03a280c method=lombok.javac.JavacNode.traverse(Llombok/javac/JavacASTVisitor;)V @ 153
|
||||
Event: 4.788 Thread 0x000002abad563800 Uncommon trap: reason=class_check action=maybe_recompile pc=0x000002abb03a2844 method=lombok.javac.JavacNode.traverse(Llombok/javac/JavacASTVisitor;)V @ 369
|
||||
Event: 4.788 Thread 0x000002abad563800 Uncommon trap: reason=class_check action=maybe_recompile pc=0x000002abb03a27f0 method=lombok.javac.JavacNode.traverse(Llombok/javac/JavacASTVisitor;)V @ 113
|
||||
|
||||
Classes redefined (0 events):
|
||||
No events
|
||||
|
||||
Internal exceptions (10 events):
|
||||
Event: 1.774 Thread 0x000002abad563800 Implicit null exception at 0x000002abaf8fca17 to 0x000002abaf8fce4d
|
||||
Event: 1.775 Thread 0x000002abad563800 Implicit null exception at 0x000002abaf91311b to 0x000002abaf9131de
|
||||
Event: 1.809 Thread 0x000002abad563800 Exception <a 'java/lang/reflect/InvocationTargetException'> (0x00000007718ce028) thrown at [C:\jenkins\workspace\8-2-build-windows-x64-cygwin-sans-NAS\jdk8u401\683\hotspot\src\share\vm\runtime\reflection.cpp, line 1092]
|
||||
Event: 1.810 Thread 0x000002abad563800 Exception <a 'java/lang/reflect/InvocationTargetException'> (0x00000007718d2ec8) thrown at [C:\jenkins\workspace\8-2-build-windows-x64-cygwin-sans-NAS\jdk8u401\683\hotspot\src\share\vm\runtime\reflection.cpp, line 1092]
|
||||
Event: 2.566 Thread 0x000002abad563800 Implicit null exception at 0x000002abafe56286 to 0x000002abafe56981
|
||||
Event: 3.022 Thread 0x000002abad563800 Exception <a 'java/lang/ClassNotFoundException': com/sun/tools/javac/api/JavacTool> (0x000000077425e188) thrown at [C:\jenkins\workspace\8-2-build-windows-x64-cygwin-sans-NAS\jdk8u401\683\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 213]
|
||||
Event: 3.350 Thread 0x000002abca917000 Implicit null exception at 0x000002abaf62ff6b to 0x000002abaf6308c1
|
||||
Event: 3.552 Thread 0x000002abad563800 Exception <a 'java/io/FileNotFoundException'> (0x0000000771d08c80) thrown at [C:\jenkins\workspace\8-2-build-windows-x64-cygwin-sans-NAS\jdk8u401\683\hotspot\src\share\vm\prims\jni.cpp, line 710]
|
||||
Event: 4.635 Thread 0x000002abad563800 Implicit null exception at 0x000002abaf7610f3 to 0x000002abaf761539
|
||||
Event: 4.637 Thread 0x000002abad563800 Implicit null exception at 0x000002abaf715d15 to 0x000002abaf715f15
|
||||
|
||||
Events (10 events):
|
||||
Event: 4.788 Thread 0x000002abad563800 DEOPT UNPACKING pc=0x000002abaef158c3 sp=0x000000b396afd560 mode 2
|
||||
Event: 4.788 Thread 0x000002abad563800 Uncommon trap: trap_request=0xffffffde fr.pc=0x000002abb03a280c
|
||||
Event: 4.788 Thread 0x000002abad563800 DEOPT PACKING pc=0x000002abb03a280c sp=0x000000b396afd4f0
|
||||
Event: 4.788 Thread 0x000002abad563800 DEOPT UNPACKING pc=0x000002abaef158c3 sp=0x000000b396afd480 mode 2
|
||||
Event: 4.788 Thread 0x000002abad563800 Uncommon trap: trap_request=0xffffffde fr.pc=0x000002abb03a2844
|
||||
Event: 4.788 Thread 0x000002abad563800 DEOPT PACKING pc=0x000002abb03a2844 sp=0x000000b396afd410
|
||||
Event: 4.788 Thread 0x000002abad563800 DEOPT UNPACKING pc=0x000002abaef158c3 sp=0x000000b396afd3a0 mode 2
|
||||
Event: 4.788 Thread 0x000002abad563800 Uncommon trap: trap_request=0xffffffde fr.pc=0x000002abb03a27f0
|
||||
Event: 4.788 Thread 0x000002abad563800 DEOPT PACKING pc=0x000002abb03a27f0 sp=0x000000b396afd4f0
|
||||
Event: 4.788 Thread 0x000002abad563800 DEOPT UNPACKING pc=0x000002abaef158c3 sp=0x000000b396afd480 mode 2
|
||||
|
||||
|
||||
Dynamic libraries:
|
||||
0x00007ff68a040000 - 0x00007ff68a08a000 D:\Java\jdk\bin\java.exe
|
||||
0x00007fff9cab0000 - 0x00007fff9ccc7000 C:\WINDOWS\SYSTEM32\ntdll.dll
|
||||
0x00007fff9b870000 - 0x00007fff9b934000 C:\WINDOWS\System32\KERNEL32.DLL
|
||||
0x00007fff9a2c0000 - 0x00007fff9a67a000 C:\WINDOWS\System32\KERNELBASE.dll
|
||||
0x00007fff9be10000 - 0x00007fff9bec2000 C:\WINDOWS\System32\ADVAPI32.dll
|
||||
0x00007fff9b7b0000 - 0x00007fff9b857000 C:\WINDOWS\System32\msvcrt.dll
|
||||
0x00007fff9b940000 - 0x00007fff9b9e7000 C:\WINDOWS\System32\sechost.dll
|
||||
0x00007fff9a000000 - 0x00007fff9a028000 C:\WINDOWS\System32\bcrypt.dll
|
||||
0x00007fff9bee0000 - 0x00007fff9bff4000 C:\WINDOWS\System32\RPCRT4.dll
|
||||
0x00007fff9b4a0000 - 0x00007fff9b64e000 C:\WINDOWS\System32\USER32.dll
|
||||
0x00007fff99d70000 - 0x00007fff99d96000 C:\WINDOWS\System32\win32u.dll
|
||||
0x00007fff9b720000 - 0x00007fff9b749000 C:\WINDOWS\System32\GDI32.dll
|
||||
0x00007fff99e60000 - 0x00007fff99f7b000 C:\WINDOWS\System32\gdi32full.dll
|
||||
0x00007fff9a220000 - 0x00007fff9a2ba000 C:\WINDOWS\System32\msvcp_win.dll
|
||||
0x00007fff9a680000 - 0x00007fff9a791000 C:\WINDOWS\System32\ucrtbase.dll
|
||||
0x00007fff89560000 - 0x00007fff897f2000 C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.22621.4541_none_2710d1c57384c085\COMCTL32.dll
|
||||
0x00007fff9c1e0000 - 0x00007fff9c211000 C:\WINDOWS\System32\IMM32.DLL
|
||||
0x00007fff8b4f0000 - 0x00007fff8b50b000 D:\Java\jdk\jre\bin\vcruntime140.dll
|
||||
0x00007fff93c60000 - 0x00007fff93c6c000 D:\Java\jdk\jre\bin\vcruntime140_1.dll
|
||||
0x00007fff81830000 - 0x00007fff818be000 D:\Java\jdk\jre\bin\msvcp140.dll
|
||||
0x00007fff4b9a0000 - 0x00007fff4c250000 D:\Java\jdk\jre\bin\server\jvm.dll
|
||||
0x00007fff9be00000 - 0x00007fff9be08000 C:\WINDOWS\System32\PSAPI.DLL
|
||||
0x00007fff7c080000 - 0x00007fff7c089000 C:\WINDOWS\SYSTEM32\WSOCK32.dll
|
||||
0x00007fff93b50000 - 0x00007fff93b5a000 C:\WINDOWS\SYSTEM32\VERSION.dll
|
||||
0x00007fff91c10000 - 0x00007fff91c44000 C:\WINDOWS\SYSTEM32\WINMM.dll
|
||||
0x00007fff9b6a0000 - 0x00007fff9b711000 C:\WINDOWS\System32\WS2_32.dll
|
||||
0x00007fff98db0000 - 0x00007fff98dc8000 C:\WINDOWS\SYSTEM32\kernel.appcore.dll
|
||||
0x00007fff92f50000 - 0x00007fff92f60000 D:\Java\jdk\jre\bin\verify.dll
|
||||
0x00007fff8b300000 - 0x00007fff8b32b000 D:\Java\jdk\jre\bin\java.dll
|
||||
0x00007fff80760000 - 0x00007fff80794000 D:\Java\jdk\jre\bin\instrument.dll
|
||||
0x00007fff8b4b0000 - 0x00007fff8b4c8000 D:\Java\jdk\jre\bin\zip.dll
|
||||
0x00007fff9ac20000 - 0x00007fff9b499000 C:\WINDOWS\System32\SHELL32.dll
|
||||
0x00007fff97cb0000 - 0x00007fff985b9000 C:\WINDOWS\SYSTEM32\windows.storage.dll
|
||||
0x00007fff9c300000 - 0x00007fff9c691000 C:\WINDOWS\System32\combase.dll
|
||||
0x00007fff97b70000 - 0x00007fff97caf000 C:\WINDOWS\SYSTEM32\wintypes.dll
|
||||
0x00007fff9c970000 - 0x00007fff9ca6a000 C:\WINDOWS\System32\SHCORE.dll
|
||||
0x00007fff9b750000 - 0x00007fff9b7ae000 C:\WINDOWS\System32\shlwapi.dll
|
||||
0x00007fff99ca0000 - 0x00007fff99ccb000 C:\WINDOWS\SYSTEM32\profapi.dll
|
||||
0x00007fff80140000 - 0x00007fff8015a000 D:\software\idea\IntelliJ IDEA 2023.3.6\bin\breakgen64.dll
|
||||
0x00007fff8b190000 - 0x00007fff8b1ac000 D:\java\jdk\jre\bin\net.dll
|
||||
0x00007fff99230000 - 0x00007fff99299000 C:\WINDOWS\system32\mswsock.dll
|
||||
0x00007fff99490000 - 0x00007fff994ab000 C:\WINDOWS\SYSTEM32\CRYPTSP.dll
|
||||
0x00007fff98d10000 - 0x00007fff98d45000 C:\WINDOWS\system32\rsaenh.dll
|
||||
0x00007fff99320000 - 0x00007fff99348000 C:\WINDOWS\SYSTEM32\USERENV.dll
|
||||
0x00007fff9a030000 - 0x00007fff9a0ab000 C:\WINDOWS\System32\bcryptprimitives.dll
|
||||
0x00007fff99480000 - 0x00007fff9948c000 C:\WINDOWS\SYSTEM32\CRYPTBASE.dll
|
||||
0x00007fff98810000 - 0x00007fff9883d000 C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL
|
||||
0x00007fff9bed0000 - 0x00007fff9bed9000 C:\WINDOWS\System32\NSI.dll
|
||||
0x00007fff95f40000 - 0x00007fff95f59000 C:\WINDOWS\SYSTEM32\dhcpcsvc6.DLL
|
||||
0x00007fff95f20000 - 0x00007fff95f3f000 C:\WINDOWS\SYSTEM32\dhcpcsvc.DLL
|
||||
0x00007fff98840000 - 0x00007fff98942000 C:\WINDOWS\SYSTEM32\DNSAPI.dll
|
||||
0x00007fff8b150000 - 0x00007fff8b163000 D:\java\jdk\jre\bin\nio.dll
|
||||
0x00007fff8acf0000 - 0x00007fff8acfa000 C:\Users\86157\AppData\Local\Temp\jansi-1.17.1-3766749608966854395.dll
|
||||
0x00007fff97590000 - 0x00007fff977c2000 C:\WINDOWS\SYSTEM32\dbghelp.dll
|
||||
0x00007fff9c220000 - 0x00007fff9c2f7000 C:\WINDOWS\System32\OLEAUT32.dll
|
||||
|
||||
VM Arguments:
|
||||
jvm_args: -Dmaven.multiModuleProjectDirectory=F:\workspace\idea\zhgd\zhgd-ht-service -Djansi.passthrough=true -Dmaven.home=D:\maven\apache-maven-3.6.1 -Dclassworlds.conf=D:\maven\apache-maven-3.6.1\bin\m2.conf -Dmaven.ext.class.path=D:\software\idea\IntelliJ IDEA 2023.3.6\plugins\maven\lib\maven-event-listener.jar -javaagent:D:\software\idea\IntelliJ IDEA 2023.3.6\lib\idea_rt.jar=51214:D:\software\idea\IntelliJ IDEA 2023.3.6\bin -Dfile.encoding=UTF-8
|
||||
java_command: org.codehaus.classworlds.Launcher -Didea.version=2023.3.8 -s D:\maven\apache-maven-3.6.1\conf\settings.xml -Dmaven.repo.local=D:\maven\apache-maven-3.6.1\conf\zhgdRepo install
|
||||
java_class_path (initial): D:\maven\apache-maven-3.6.1\boot\plexus-classworlds-2.6.0.jar;D:\software\idea\IntelliJ IDEA 2023.3.6\lib\idea_rt.jar
|
||||
Launcher Type: SUN_STANDARD
|
||||
|
||||
Environment Variables:
|
||||
JAVA_HOME=D:\java\jdk
|
||||
CLASSPATH=.;D:\java\jdk\lib;D:\java\jdk\lib\tools.jar
|
||||
PATH=D:\software\FortifySC\bin;C:\app\heizi\product\11.2.0\dbhome_3\bin;C:\app\ºÚ×Ó\product\11.2.0\dbhome_3\bin;C;\app\ºÚ×Ó\product\11.2.0\dbhome_2\bin;C;\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;D:\software\bandizip\;D:\java\jdk\bin;D:\java\jdk\jre\bin;%CATALINA_HOME%\bin;%CATALINA_BASE%\bin;D:\maven\apache-maven-3.6.1\bin;D:\software\xshell\;D:\software\xftp\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;G:\software\svn\bin;D:\software\svn\bin;D:\software\nvmHome\nvm\nvm;D:\software\nvmHome\node;D:\software\TortoiseGit\bin;C:\Program Files\Git\cmd;D:\software\xshell8\;D:\software\xftp8\;C:\Users\86157\AppData\Local\Microsoft\WindowsApps;D:\software\nvmHome\nvm\nvm;D:\software\nvmHome\node;D:\software\namp\Nmap;D:\software\qqyouxi\QQGameTempest\Hall.58319\;D:\software\idea\IntelliJ IDEA 2023.3.6\bin;;D:\software\Microsoft VS Code\bin
|
||||
USERNAME=ºÚ×Ó
|
||||
OS=Windows_NT
|
||||
PROCESSOR_IDENTIFIER=AMD64 Family 25 Model 68 Stepping 1, AuthenticAMD
|
||||
|
||||
|
||||
|
||||
--------------- S Y S T E M ---------------
|
||||
|
||||
OS: Windows 11 , 64 bit Build 22621 (10.0.22621.4391)
|
||||
|
||||
CPU:total 16 (initial active 16) (16 cores per cpu, 1 threads per core) family 25 model 68 stepping 1, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, erms, mmxext, 3dnowpref, lzcnt, sse4a, tsc, tscinvbit, tscinv, bmi1
|
||||
|
||||
Memory: 4k page, physical 15930072k(566464k free), swap 33980500k(5148k free)
|
||||
|
||||
vm_info: Java HotSpot(TM) 64-Bit Server VM (25.401-b10) for windows-amd64 JRE (1.8.0_401-b10), built on Dec 19 2023 12:38:48 by "java_re" with MS VC++ 17.1 (VS2022)
|
||||
|
||||
time: Tue Mar 11 15:40:42 2025
|
||||
timezone: AMD64 Family 25 Model 68 Stepping 1, AuthenticAMD
|
||||
elapsed time: 4.825579 seconds (0d 0h 0m 4s)
|
||||
|
||||
|
|
@ -0,0 +1,387 @@
|
|||
#
|
||||
# There is insufficient memory for the Java Runtime Environment to continue.
|
||||
# Native memory allocation (malloc) failed to allocate 32744 bytes for ChunkPool::allocate
|
||||
# Possible reasons:
|
||||
# The system is out of physical RAM or swap space
|
||||
# The process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap
|
||||
# Possible solutions:
|
||||
# Reduce memory load on the system
|
||||
# Increase physical memory or swap space
|
||||
# Check if swap backing store is full
|
||||
# Decrease Java heap size (-Xmx/-Xms)
|
||||
# Decrease number of Java threads
|
||||
# Decrease Java thread stack sizes (-Xss)
|
||||
# Set larger code cache with -XX:ReservedCodeCacheSize=
|
||||
# JVM is running with Zero Based Compressed Oops mode in which the Java heap is
|
||||
# placed in the first 32GB address space. The Java Heap base address is the
|
||||
# maximum limit for the native heap growth. Please use -XX:HeapBaseMinAddress
|
||||
# to set the Java Heap base and to place the Java Heap above 32GB virtual address.
|
||||
# This output file may be truncated or incomplete.
|
||||
#
|
||||
# Out of Memory Error (allocation.cpp:272), pid=6372, tid=0x0000000000005dcc
|
||||
#
|
||||
# JRE version: Java(TM) SE Runtime Environment (8.0_401) (build 1.8.0_401-b10)
|
||||
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.401-b10 mixed mode windows-amd64 compressed oops)
|
||||
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
|
||||
#
|
||||
|
||||
--------------- T H R E A D ---------------
|
||||
|
||||
Current thread (0x0000023c8b64b000): JavaThread "C1 CompilerThread10" daemon [_thread_in_native, id=24012, stack(0x000000ee33400000,0x000000ee33500000)]
|
||||
|
||||
Stack: [0x000000ee33400000,0x000000ee33500000]
|
||||
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
|
||||
V [jvm.dll+0x3530d9]
|
||||
|
||||
|
||||
Current CompileTask:
|
||||
C1: 13297 7173 1 org.springframework.asm.ClassReader::readCode (5105 bytes)
|
||||
|
||||
|
||||
--------------- P R O C E S S ---------------
|
||||
|
||||
Java Threads: ( => current thread )
|
||||
0x0000023c8b8ba000 JavaThread "container-0" [_thread_blocked, id=5196, stack(0x000000ee35b00000,0x000000ee35c00000)]
|
||||
0x0000023c8dbab800 JavaThread "Catalina-utility-2" [_thread_blocked, id=22116, stack(0x000000ee35a00000,0x000000ee35b00000)]
|
||||
0x0000023c8dbaa800 JavaThread "Catalina-utility-1" [_thread_blocked, id=25436, stack(0x000000ee35900000,0x000000ee35a00000)]
|
||||
0x0000023c8dbaa000 JavaThread "Druid-ConnectionPool-Destroy-1979961282" daemon [_thread_blocked, id=22844, stack(0x000000ee35800000,0x000000ee35900000)]
|
||||
0x0000023c8dba9000 JavaThread "Druid-ConnectionPool-Create-1979961282" daemon [_thread_blocked, id=22820, stack(0x000000ee35700000,0x000000ee35800000)]
|
||||
0x0000023c8dba1800 JavaThread "mysql-cj-abandoned-connection-cleanup" daemon [_thread_blocked, id=9600, stack(0x000000ee35600000,0x000000ee35700000)]
|
||||
0x0000023c8dba8800 JavaThread "com.alibaba.nacos.client.Worker" daemon [_thread_blocked, id=16228, stack(0x000000ee35500000,0x000000ee35600000)]
|
||||
0x0000023c8dba7000 JavaThread "nacos-grpc-client-executor-11" daemon [_thread_blocked, id=6156, stack(0x000000ee35400000,0x000000ee35500000)]
|
||||
0x0000023c8dba3000 JavaThread "nacos-grpc-client-executor-10" daemon [_thread_blocked, id=20324, stack(0x000000ee35300000,0x000000ee35400000)]
|
||||
0x0000023c8dba6000 JavaThread "nacos-grpc-client-executor-9" daemon [_thread_blocked, id=24440, stack(0x000000ee35200000,0x000000ee35300000)]
|
||||
0x0000023c8dba7800 JavaThread "nacos-grpc-client-executor-8" daemon [_thread_blocked, id=13932, stack(0x000000ee35100000,0x000000ee35200000)]
|
||||
0x0000023c8dba4000 JavaThread "nacos-grpc-client-executor-7" daemon [_thread_blocked, id=7080, stack(0x000000ee35000000,0x000000ee35100000)]
|
||||
0x0000023c8db9e800 JavaThread "nacos-grpc-client-executor-6" daemon [_thread_blocked, id=21060, stack(0x000000ee34f00000,0x000000ee35000000)]
|
||||
0x0000023c8dba5800 JavaThread "nacos-grpc-client-executor-5" daemon [_thread_blocked, id=10712, stack(0x000000ee34e00000,0x000000ee34f00000)]
|
||||
0x0000023c8dba2800 JavaThread "nacos-grpc-client-executor-4" daemon [_thread_blocked, id=4148, stack(0x000000ee34d00000,0x000000ee34e00000)]
|
||||
0x0000023c8db9d000 JavaThread "nacos-grpc-client-executor-3" daemon [_thread_blocked, id=4048, stack(0x000000ee34c00000,0x000000ee34d00000)]
|
||||
0x0000023c8db9f800 JavaThread "nacos-grpc-client-executor-2" daemon [_thread_blocked, id=22500, stack(0x000000ee34b00000,0x000000ee34c00000)]
|
||||
0x0000023c8dba1000 JavaThread "nacos-grpc-client-executor-1" daemon [_thread_blocked, id=12060, stack(0x000000ee34a00000,0x000000ee34b00000)]
|
||||
0x0000023c8dba0000 JavaThread "nacos-grpc-client-executor-0" daemon [_thread_blocked, id=15064, stack(0x000000ee34900000,0x000000ee34a00000)]
|
||||
0x0000023c8db9c800 JavaThread "grpc-nio-worker-ELG-1-2" daemon [_thread_in_native, id=9188, stack(0x000000ee34800000,0x000000ee34900000)]
|
||||
0x0000023c8db9e000 JavaThread "grpc-default-executor-0" daemon [_thread_blocked, id=14236, stack(0x000000ee34700000,0x000000ee34800000)]
|
||||
0x0000023c8d81a000 JavaThread "grpc-nio-worker-ELG-1-1" daemon [_thread_in_native, id=10384, stack(0x000000ee34600000,0x000000ee34700000)]
|
||||
0x0000023c8d818000 JavaThread "com.alibaba.nacos.client.remote.worker" daemon [_thread_blocked, id=22508, stack(0x000000ee34500000,0x000000ee34600000)]
|
||||
0x0000023c8d817000 JavaThread "com.alibaba.nacos.client.remote.worker" daemon [_thread_blocked, id=19612, stack(0x000000ee34400000,0x000000ee34500000)]
|
||||
0x0000023c8d816800 JavaThread "nacos.publisher-com.alibaba.nacos.common.notify.SlowEvent" daemon [_thread_blocked, id=23104, stack(0x000000ee34300000,0x000000ee34400000)]
|
||||
0x0000023c8d818800 JavaThread "logback-6" daemon [_thread_blocked, id=23176, stack(0x000000ee34200000,0x000000ee34300000)]
|
||||
0x0000023c8d815800 JavaThread "logback-appender-LOGSTASH-127.0.0.1:9601-2" daemon [_thread_blocked, id=24212, stack(0x000000ee32800000,0x000000ee32900000)]
|
||||
0x0000023c8d815000 JavaThread "logback-5" daemon [_thread_blocked, id=25196, stack(0x000000ee32700000,0x000000ee32800000)]
|
||||
0x0000023c8d81b000 JavaThread "com.alibaba.nacos.client.Worker" daemon [_thread_blocked, id=25244, stack(0x000000ee34100000,0x000000ee34200000)]
|
||||
0x0000023c8d819800 JavaThread "com.alibaba.nacos.client.Worker" daemon [_thread_blocked, id=13984, stack(0x000000ee34000000,0x000000ee34100000)]
|
||||
0x0000023c8d6cb800 JavaThread "com.alibaba.nacos.client.Worker" daemon [_thread_blocked, id=22736, stack(0x000000ee33f00000,0x000000ee34000000)]
|
||||
0x0000023c8d75e800 JavaThread "Keep-Alive-Timer" daemon [_thread_blocked, id=8848, stack(0x000000ee33e00000,0x000000ee33f00000)]
|
||||
0x0000023c8d75d800 JavaThread "com.alibaba.nacos.client.identify.watcher.0" daemon [_thread_blocked, id=14332, stack(0x000000ee33d00000,0x000000ee33e00000)]
|
||||
0x0000023c8d766000 JavaThread "logback-4" daemon [_thread_blocked, id=19136, stack(0x000000ee33c00000,0x000000ee33d00000)]
|
||||
0x0000023c8c094800 JavaThread "logback-3" daemon [_thread_blocked, id=9144, stack(0x000000ee33b00000,0x000000ee33c00000)]
|
||||
0x0000023c8be35000 JavaThread "RMI Scheduler(0)" daemon [_thread_blocked, id=14944, stack(0x000000ee33a00000,0x000000ee33b00000)]
|
||||
0x0000023c8beb0000 JavaThread "RMI TCP Connection(1)-192.168.0.38" daemon [_thread_in_native, id=22696, stack(0x000000ee33900000,0x000000ee33a00000)]
|
||||
0x0000023c8b8f8000 JavaThread "RMI TCP Accept-0" daemon [_thread_in_native, id=23296, stack(0x000000ee33700000,0x000000ee33800000)]
|
||||
0x0000023c8b6ce800 JavaThread "Service Thread" daemon [_thread_blocked, id=8448, stack(0x000000ee33600000,0x000000ee33700000)]
|
||||
0x0000023c8b691800 JavaThread "C1 CompilerThread11" daemon [_thread_blocked, id=23292, stack(0x000000ee33500000,0x000000ee33600000)]
|
||||
=>0x0000023c8b64b000 JavaThread "C1 CompilerThread10" daemon [_thread_in_native, id=24012, stack(0x000000ee33400000,0x000000ee33500000)]
|
||||
0x0000023c8b63e000 JavaThread "C1 CompilerThread9" daemon [_thread_blocked, id=1708, stack(0x000000ee33300000,0x000000ee33400000)]
|
||||
0x0000023c8b4ce800 JavaThread "C1 CompilerThread8" daemon [_thread_blocked, id=25344, stack(0x000000ee33200000,0x000000ee33300000)]
|
||||
0x0000023c8b4ce000 JavaThread "C2 CompilerThread7" daemon [_thread_blocked, id=19340, stack(0x000000ee33100000,0x000000ee33200000)]
|
||||
0x0000023c8b53d800 JavaThread "C2 CompilerThread6" daemon [_thread_blocked, id=15112, stack(0x000000ee33000000,0x000000ee33100000)]
|
||||
0x0000023c8b53d000 JavaThread "C2 CompilerThread5" daemon [_thread_blocked, id=23736, stack(0x000000ee32f00000,0x000000ee33000000)]
|
||||
0x0000023c8b616800 JavaThread "C2 CompilerThread4" daemon [_thread_blocked, id=10772, stack(0x000000ee32e00000,0x000000ee32f00000)]
|
||||
0x0000023c8b4b0800 JavaThread "C2 CompilerThread3" daemon [_thread_blocked, id=5068, stack(0x000000ee32d00000,0x000000ee32e00000)]
|
||||
0x0000023c8b566800 JavaThread "C2 CompilerThread2" daemon [_thread_blocked, id=6772, stack(0x000000ee32c00000,0x000000ee32d00000)]
|
||||
0x0000023c8b52c800 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=24636, stack(0x000000ee32b00000,0x000000ee32c00000)]
|
||||
0x0000023c8b531800 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=22364, stack(0x000000ee32a00000,0x000000ee32b00000)]
|
||||
0x0000023c89864800 JavaThread "JDWP Command Reader" daemon [_thread_in_native, id=25416, stack(0x000000ee32600000,0x000000ee32700000)]
|
||||
0x0000023c89864000 JavaThread "JDWP Event Helper Thread" daemon [_thread_blocked, id=24188, stack(0x000000ee32500000,0x000000ee32600000)]
|
||||
0x0000023c8985e800 JavaThread "JDWP Transport Listener: dt_socket" daemon [_thread_blocked, id=23028, stack(0x000000ee32400000,0x000000ee32500000)]
|
||||
0x0000023c8984c800 JavaThread "Attach Listener" daemon [_thread_blocked, id=23092, stack(0x000000ee32300000,0x000000ee32400000)]
|
||||
0x0000023c8984a000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=10780, stack(0x000000ee32200000,0x000000ee32300000)]
|
||||
0x0000023c87b7d000 JavaThread "Finalizer" daemon [_thread_blocked, id=4956, stack(0x000000ee32100000,0x000000ee32200000)]
|
||||
0x0000023c897d3000 JavaThread "Reference Handler" daemon [_thread_blocked, id=20180, stack(0x000000ee32000000,0x000000ee32100000)]
|
||||
0x0000023ced1dc000 JavaThread "main" [_thread_in_vm, id=19628, stack(0x000000ee31100000,0x000000ee31200000)]
|
||||
|
||||
Other Threads:
|
||||
0x0000023c897b2800 VMThread [stack: 0x000000ee31f00000,0x000000ee32000000] [id=23760]
|
||||
0x0000023c8b903000 WatcherThread [stack: 0x000000ee33800000,0x000000ee33900000] [id=25052]
|
||||
|
||||
VM state:not at safepoint (normal execution)
|
||||
|
||||
VM Mutex/Monitor currently owned by a thread: None
|
||||
|
||||
heap address: 0x00000006cce00000, size: 3890 MB, Compressed Oops mode: Zero based, Oop shift amount: 3
|
||||
Narrow klass base: 0x0000000000000000, Narrow klass shift: 3
|
||||
Compressed class space size: 1073741824 Address: 0x00000007c0000000
|
||||
|
||||
Heap:
|
||||
PSYoungGen total 1025536K, used 369528K [0x000000076ef80000, 0x00000007b0680000, 0x00000007c0000000)
|
||||
eden space 1000960K, 36% used [0x000000076ef80000,0x000000078585e1e8,0x00000007ac100000)
|
||||
from space 24576K, 0% used [0x00000007ad780000,0x00000007ad780000,0x00000007aef80000)
|
||||
to space 23040K, 0% used [0x00000007ac100000,0x00000007ac100000,0x00000007ad780000)
|
||||
ParOldGen total 171520K, used 34287K [0x00000006cce00000, 0x00000006d7580000, 0x000000076ef80000)
|
||||
object space 171520K, 19% used [0x00000006cce00000,0x00000006cef7bf80,0x00000006d7580000)
|
||||
Metaspace used 67414K, capacity 70700K, committed 70784K, reserved 1110016K
|
||||
class space used 8921K, capacity 9525K, committed 9600K, reserved 1048576K
|
||||
|
||||
Card table byte_map: [0x0000023cfe040000,0x0000023cfe7e0000] byte_map_base: 0x0000023cfa9d9000
|
||||
|
||||
Marking Bits: (ParMarkBitMap*) 0x00007ffaf5f95fc0
|
||||
Begin Bits: [0x0000023c80000000, 0x0000023c83cc8000)
|
||||
End Bits: [0x0000023c83cc8000, 0x0000023c87990000)
|
||||
|
||||
Polling page: 0x0000023ced4a0000
|
||||
|
||||
CodeCache: size=245760Kb used=16070Kb max_used=16070Kb free=229689Kb
|
||||
bounds [0x0000023ceec80000, 0x0000023cefc40000, 0x0000023cfdc80000]
|
||||
total_blobs=7722 nmethods=7097 adapters=543
|
||||
compilation: enabled
|
||||
|
||||
Compilation events (10 events):
|
||||
Event: 13.285 Thread 0x0000023c8b63e000 nmethod 7170 0x0000023cefc30310 code [0x0000023cefc30500, 0x0000023cefc30a90]
|
||||
Event: 13.287 Thread 0x0000023c8b691800 7171 ! 1 com.sun.proxy.$Proxy58::annotationType (29 bytes)
|
||||
Event: 13.287 Thread 0x0000023c8b4ce800 7172 ! 1 com.sun.proxy.$Proxy68::annotationType (29 bytes)
|
||||
Event: 13.287 Thread 0x0000023c8b691800 nmethod 7171 0x0000023cefc30f50 code [0x0000023cefc310e0, 0x0000023cefc31360]
|
||||
Event: 13.287 Thread 0x0000023c8b4ce800 nmethod 7172 0x0000023cefc314d0 code [0x0000023cefc31660, 0x0000023cefc318e0]
|
||||
Event: 13.289 Thread 0x0000023c8b64b000 7173 1 org.springframework.asm.ClassReader::readCode (5105 bytes)
|
||||
Event: 13.289 Thread 0x0000023c8b63e000 7174 1 org.springframework.core.LocalVariableTableParameterNameDiscoverer$LocalVariableTableVisitor::visitLocalVariable (45 bytes)
|
||||
Event: 13.289 Thread 0x0000023c8b63e000 nmethod 7174 0x0000023cefc31a50 code [0x0000023cefc31bc0, 0x0000023cefc31dd8]
|
||||
Event: 13.290 Thread 0x0000023c8b691800 7175 ! 1 java.util.ArrayList$Itr::remove (68 bytes)
|
||||
Event: 13.290 Thread 0x0000023c8b691800 nmethod 7175 0x0000023cefc31f90 code [0x0000023cefc32140, 0x0000023cefc32460]
|
||||
|
||||
GC Heap History (10 events):
|
||||
Event: 6.814 GC heap before
|
||||
{Heap before GC invocations=17 (full 1):
|
||||
PSYoungGen total 590336K, used 436784K [0x000000076ef80000, 0x00000007a3e80000, 0x00000007c0000000)
|
||||
eden space 579584K, 75% used [0x000000076ef80000,0x00000007899f4128,0x0000000792580000)
|
||||
from space 10752K, 0% used [0x0000000792580000,0x0000000792598000,0x0000000793000000)
|
||||
to space 10752K, 0% used [0x00000007a3400000,0x00000007a3400000,0x00000007a3e80000)
|
||||
ParOldGen total 71168K, used 11677K [0x00000006cce00000, 0x00000006d1380000, 0x000000076ef80000)
|
||||
object space 71168K, 16% used [0x00000006cce00000,0x00000006cd967740,0x00000006d1380000)
|
||||
Metaspace used 33889K, capacity 35242K, committed 35416K, reserved 1079296K
|
||||
class space used 4511K, capacity 4805K, committed 4864K, reserved 1048576K
|
||||
Event: 6.820 GC heap after
|
||||
Heap after GC invocations=17 (full 1):
|
||||
PSYoungGen total 840192K, used 7267K [0x000000076ef80000, 0x00000007a3b80000, 0x00000007c0000000)
|
||||
eden space 832512K, 0% used [0x000000076ef80000,0x000000076ef80000,0x00000007a1c80000)
|
||||
from space 7680K, 94% used [0x00000007a3400000,0x00000007a3b18cb8,0x00000007a3b80000)
|
||||
to space 11264K, 0% used [0x00000007a2580000,0x00000007a2580000,0x00000007a3080000)
|
||||
ParOldGen total 71168K, used 11701K [0x00000006cce00000, 0x00000006d1380000, 0x000000076ef80000)
|
||||
object space 71168K, 16% used [0x00000006cce00000,0x00000006cd96d740,0x00000006d1380000)
|
||||
Metaspace used 33889K, capacity 35242K, committed 35416K, reserved 1079296K
|
||||
class space used 4511K, capacity 4805K, committed 4864K, reserved 1048576K
|
||||
}
|
||||
Event: 6.820 GC heap before
|
||||
{Heap before GC invocations=18 (full 2):
|
||||
PSYoungGen total 840192K, used 7267K [0x000000076ef80000, 0x00000007a3b80000, 0x00000007c0000000)
|
||||
eden space 832512K, 0% used [0x000000076ef80000,0x000000076ef80000,0x00000007a1c80000)
|
||||
from space 7680K, 94% used [0x00000007a3400000,0x00000007a3b18cb8,0x00000007a3b80000)
|
||||
to space 11264K, 0% used [0x00000007a2580000,0x00000007a2580000,0x00000007a3080000)
|
||||
ParOldGen total 71168K, used 11701K [0x00000006cce00000, 0x00000006d1380000, 0x000000076ef80000)
|
||||
object space 71168K, 16% used [0x00000006cce00000,0x00000006cd96d740,0x00000006d1380000)
|
||||
Metaspace used 33889K, capacity 35242K, committed 35416K, reserved 1079296K
|
||||
class space used 4511K, capacity 4805K, committed 4864K, reserved 1048576K
|
||||
Event: 6.875 GC heap after
|
||||
Heap after GC invocations=18 (full 2):
|
||||
PSYoungGen total 840192K, used 0K [0x000000076ef80000, 0x00000007a3b80000, 0x00000007c0000000)
|
||||
eden space 832512K, 0% used [0x000000076ef80000,0x000000076ef80000,0x00000007a1c80000)
|
||||
from space 7680K, 0% used [0x00000007a3400000,0x00000007a3400000,0x00000007a3b80000)
|
||||
to space 11264K, 0% used [0x00000007a2580000,0x00000007a2580000,0x00000007a3080000)
|
||||
ParOldGen total 109056K, used 15776K [0x00000006cce00000, 0x00000006d3880000, 0x000000076ef80000)
|
||||
object space 109056K, 14% used [0x00000006cce00000,0x00000006cdd682e8,0x00000006d3880000)
|
||||
Metaspace used 33889K, capacity 35242K, committed 35416K, reserved 1079296K
|
||||
class space used 4511K, capacity 4805K, committed 4864K, reserved 1048576K
|
||||
}
|
||||
Event: 10.368 GC heap before
|
||||
{Heap before GC invocations=19 (full 2):
|
||||
PSYoungGen total 840192K, used 832512K [0x000000076ef80000, 0x00000007a3b80000, 0x00000007c0000000)
|
||||
eden space 832512K, 100% used [0x000000076ef80000,0x00000007a1c80000,0x00000007a1c80000)
|
||||
from space 7680K, 0% used [0x00000007a3400000,0x00000007a3400000,0x00000007a3b80000)
|
||||
to space 11264K, 0% used [0x00000007a2580000,0x00000007a2580000,0x00000007a3080000)
|
||||
ParOldGen total 109056K, used 15776K [0x00000006cce00000, 0x00000006d3880000, 0x000000076ef80000)
|
||||
object space 109056K, 14% used [0x00000006cce00000,0x00000006cdd682e8,0x00000006d3880000)
|
||||
Metaspace used 52536K, capacity 54984K, committed 55168K, reserved 1097728K
|
||||
class space used 7015K, capacity 7486K, committed 7552K, reserved 1048576K
|
||||
Event: 10.394 GC heap after
|
||||
Heap after GC invocations=19 (full 2):
|
||||
PSYoungGen total 852992K, used 11235K [0x000000076ef80000, 0x00000007aef80000, 0x00000007c0000000)
|
||||
eden space 841728K, 0% used [0x000000076ef80000,0x000000076ef80000,0x00000007a2580000)
|
||||
from space 11264K, 99% used [0x00000007a2580000,0x00000007a3078ee8,0x00000007a3080000)
|
||||
to space 24576K, 0% used [0x00000007ad780000,0x00000007ad780000,0x00000007aef80000)
|
||||
ParOldGen total 109056K, used 45146K [0x00000006cce00000, 0x00000006d3880000, 0x000000076ef80000)
|
||||
object space 109056K, 41% used [0x00000006cce00000,0x00000006cfa16bd0,0x00000006d3880000)
|
||||
Metaspace used 52536K, capacity 54984K, committed 55168K, reserved 1097728K
|
||||
class space used 7015K, capacity 7486K, committed 7552K, reserved 1048576K
|
||||
}
|
||||
Event: 10.890 GC heap before
|
||||
{Heap before GC invocations=20 (full 2):
|
||||
PSYoungGen total 852992K, used 106647K [0x000000076ef80000, 0x00000007aef80000, 0x00000007c0000000)
|
||||
eden space 841728K, 11% used [0x000000076ef80000,0x0000000774cace28,0x00000007a2580000)
|
||||
from space 11264K, 99% used [0x00000007a2580000,0x00000007a3078ee8,0x00000007a3080000)
|
||||
to space 24576K, 0% used [0x00000007ad780000,0x00000007ad780000,0x00000007aef80000)
|
||||
ParOldGen total 109056K, used 45146K [0x00000006cce00000, 0x00000006d3880000, 0x000000076ef80000)
|
||||
object space 109056K, 41% used [0x00000006cce00000,0x00000006cfa16bd0,0x00000006d3880000)
|
||||
Metaspace used 56357K, capacity 58958K, committed 59028K, reserved 1099776K
|
||||
class space used 7421K, capacity 7895K, committed 7936K, reserved 1048576K
|
||||
Event: 10.900 GC heap after
|
||||
Heap after GC invocations=20 (full 2):
|
||||
PSYoungGen total 1025536K, used 5007K [0x000000076ef80000, 0x00000007b0680000, 0x00000007c0000000)
|
||||
eden space 1000960K, 0% used [0x000000076ef80000,0x000000076ef80000,0x00000007ac100000)
|
||||
from space 24576K, 20% used [0x00000007ad780000,0x00000007adc63c38,0x00000007aef80000)
|
||||
to space 23040K, 0% used [0x00000007ac100000,0x00000007ac100000,0x00000007ad780000)
|
||||
ParOldGen total 109056K, used 55592K [0x00000006cce00000, 0x00000006d3880000, 0x000000076ef80000)
|
||||
object space 109056K, 50% used [0x00000006cce00000,0x00000006d044a0c0,0x00000006d3880000)
|
||||
Metaspace used 56357K, capacity 58958K, committed 59028K, reserved 1099776K
|
||||
class space used 7421K, capacity 7895K, committed 7936K, reserved 1048576K
|
||||
}
|
||||
Event: 10.900 GC heap before
|
||||
{Heap before GC invocations=21 (full 3):
|
||||
PSYoungGen total 1025536K, used 5007K [0x000000076ef80000, 0x00000007b0680000, 0x00000007c0000000)
|
||||
eden space 1000960K, 0% used [0x000000076ef80000,0x000000076ef80000,0x00000007ac100000)
|
||||
from space 24576K, 20% used [0x00000007ad780000,0x00000007adc63c38,0x00000007aef80000)
|
||||
to space 23040K, 0% used [0x00000007ac100000,0x00000007ac100000,0x00000007ad780000)
|
||||
ParOldGen total 109056K, used 55592K [0x00000006cce00000, 0x00000006d3880000, 0x000000076ef80000)
|
||||
object space 109056K, 50% used [0x00000006cce00000,0x00000006d044a0c0,0x00000006d3880000)
|
||||
Metaspace used 56357K, capacity 58958K, committed 59028K, reserved 1099776K
|
||||
class space used 7421K, capacity 7895K, committed 7936K, reserved 1048576K
|
||||
Event: 11.020 GC heap after
|
||||
Heap after GC invocations=21 (full 3):
|
||||
PSYoungGen total 1025536K, used 0K [0x000000076ef80000, 0x00000007b0680000, 0x00000007c0000000)
|
||||
eden space 1000960K, 0% used [0x000000076ef80000,0x000000076ef80000,0x00000007ac100000)
|
||||
from space 24576K, 0% used [0x00000007ad780000,0x00000007ad780000,0x00000007aef80000)
|
||||
to space 23040K, 0% used [0x00000007ac100000,0x00000007ac100000,0x00000007ad780000)
|
||||
ParOldGen total 171520K, used 34287K [0x00000006cce00000, 0x00000006d7580000, 0x000000076ef80000)
|
||||
object space 171520K, 19% used [0x00000006cce00000,0x00000006cef7bf80,0x00000006d7580000)
|
||||
Metaspace used 56357K, capacity 58958K, committed 59028K, reserved 1099776K
|
||||
class space used 7421K, capacity 7895K, committed 7936K, reserved 1048576K
|
||||
}
|
||||
|
||||
Deoptimization events (0 events):
|
||||
No events
|
||||
|
||||
Classes redefined (0 events):
|
||||
No events
|
||||
|
||||
Internal exceptions (10 events):
|
||||
Event: 13.111 Thread 0x0000023ced1dc000 Exception <a 'java/lang/ClassNotFoundException': org/springframework/beans/factory/InitializingBeanCustomizer> (0x0000000781f220e0) thrown at [C:\jenkins\workspace\8-2-build-windows-x64-cygwin-sans-NAS\jdk8u401\683\hotspot\src\share\vm\classfile\systemDic
|
||||
Event: 13.179 Thread 0x0000023ced1dc000 Exception <a 'java/lang/ClassNotFoundException': java/lang/ObjectCustomizer> (0x000000078316e978) thrown at [C:\jenkins\workspace\8-2-build-windows-x64-cygwin-sans-NAS\jdk8u401\683\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 213]
|
||||
Event: 13.180 Thread 0x0000023ced1dc000 Exception <a 'java/lang/ClassNotFoundException': org/springframework/plugin/core/support/AbstractTypeAwareSupportCustomizer> (0x00000007831befb0) thrown at [C:\jenkins\workspace\8-2-build-windows-x64-cygwin-sans-NAS\jdk8u401\683\hotspot\src\share\vm\class
|
||||
Event: 13.181 Thread 0x0000023ced1dc000 Exception <a 'java/lang/ClassNotFoundException': org/springframework/plugin/core/support/PluginRegistryFactoryBeanCustomizer> (0x0000000783216440) thrown at [C:\jenkins\workspace\8-2-build-windows-x64-cygwin-sans-NAS\jdk8u401\683\hotspot\src\share\vm\clas
|
||||
Event: 13.181 Thread 0x0000023ced1dc000 Exception <a 'java/lang/ClassNotFoundException': org/springframework/beans/factory/FactoryBeanCustomizer> (0x000000078326b858) thrown at [C:\jenkins\workspace\8-2-build-windows-x64-cygwin-sans-NAS\jdk8u401\683\hotspot\src\share\vm\classfile\systemDictiona
|
||||
Event: 13.182 Thread 0x0000023ced1dc000 Exception <a 'java/lang/ClassNotFoundException': org/springframework/context/ApplicationContextAwareCustomizer> (0x00000007832b4428) thrown at [C:\jenkins\workspace\8-2-build-windows-x64-cygwin-sans-NAS\jdk8u401\683\hotspot\src\share\vm\classfile\systemDi
|
||||
Event: 13.183 Thread 0x0000023ced1dc000 Exception <a 'java/lang/ClassNotFoundException': org/springframework/beans/factory/AwareCustomizer> (0x00000007832f2800) thrown at [C:\jenkins\workspace\8-2-build-windows-x64-cygwin-sans-NAS\jdk8u401\683\hotspot\src\share\vm\classfile\systemDictionary.cpp
|
||||
Event: 13.183 Thread 0x0000023ced1dc000 Exception <a 'java/lang/ClassNotFoundException': org/springframework/context/ApplicationListenerCustomizer> (0x0000000783334970) thrown at [C:\jenkins\workspace\8-2-build-windows-x64-cygwin-sans-NAS\jdk8u401\683\hotspot\src\share\vm\classfile\systemDictio
|
||||
Event: 13.184 Thread 0x0000023ced1dc000 Exception <a 'java/lang/ClassNotFoundException': java/util/EventListenerCustomizer> (0x000000078334f840) thrown at [C:\jenkins\workspace\8-2-build-windows-x64-cygwin-sans-NAS\jdk8u401\683\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 213]
|
||||
Event: 13.184 Thread 0x0000023ced1dc000 Exception <a 'java/lang/ClassNotFoundException': org/springframework/beans/factory/InitializingBeanCustomizer> (0x0000000783394248) thrown at [C:\jenkins\workspace\8-2-build-windows-x64-cygwin-sans-NAS\jdk8u401\683\hotspot\src\share\vm\classfile\systemDic
|
||||
|
||||
Events (10 events):
|
||||
Event: 13.292 Thread 0x0000023ced1dc000 DEOPT PACKING pc=0x0000023cef3d2894 sp=0x000000ee311f9c30
|
||||
Event: 13.292 Thread 0x0000023ced1dc000 DEOPT UNPACKING pc=0x0000023ceecc7518 sp=0x000000ee311f9a50 mode 1
|
||||
Event: 13.293 loading class com/securitycontrol/common/swagger/config/SwaggerProperties$AuthorizationScope
|
||||
Event: 13.293 loading class com/securitycontrol/common/swagger/config/SwaggerProperties$AuthorizationScope done
|
||||
Event: 13.293 Thread 0x0000023ced1dc000 DEOPT PACKING pc=0x0000023cef053e91 sp=0x000000ee311f90e0
|
||||
Event: 13.293 Thread 0x0000023ced1dc000 DEOPT UNPACKING pc=0x0000023ceecc7518 sp=0x000000ee311f8e30 mode 1
|
||||
Event: 13.293 Thread 0x0000023ced1dc000 DEOPT PACKING pc=0x0000023cef3d2954 sp=0x000000ee311f9160
|
||||
Event: 13.293 Thread 0x0000023ced1dc000 DEOPT UNPACKING pc=0x0000023ceecc7518 sp=0x000000ee311f8f80 mode 1
|
||||
Event: 13.293 Thread 0x0000023ced1dc000 DEOPT PACKING pc=0x0000023cef3d2894 sp=0x000000ee311f92f0
|
||||
Event: 13.293 Thread 0x0000023ced1dc000 DEOPT UNPACKING pc=0x0000023ceecc7518 sp=0x000000ee311f9110 mode 1
|
||||
|
||||
|
||||
Dynamic libraries:
|
||||
0x00007ff618c00000 - 0x00007ff618c4a000 D:\Java\jdk\bin\java.exe
|
||||
0x00007ffb3f470000 - 0x00007ffb3f687000 C:\WINDOWS\SYSTEM32\ntdll.dll
|
||||
0x00007ffb3d970000 - 0x00007ffb3da34000 C:\WINDOWS\System32\KERNEL32.DLL
|
||||
0x00007ffb3c700000 - 0x00007ffb3cad1000 C:\WINDOWS\System32\KERNELBASE.dll
|
||||
0x00007ffb3d4e0000 - 0x00007ffb3d591000 C:\WINDOWS\System32\ADVAPI32.dll
|
||||
0x00007ffb3e1f0000 - 0x00007ffb3e297000 C:\WINDOWS\System32\msvcrt.dll
|
||||
0x00007ffb3ddb0000 - 0x00007ffb3de57000 C:\WINDOWS\System32\sechost.dll
|
||||
0x00007ffb3d090000 - 0x00007ffb3d0b8000 C:\WINDOWS\System32\bcrypt.dll
|
||||
0x00007ffb3f310000 - 0x00007ffb3f424000 C:\WINDOWS\System32\RPCRT4.dll
|
||||
0x00007ffb3d670000 - 0x00007ffb3d821000 C:\WINDOWS\System32\USER32.dll
|
||||
0x00007ffb3c630000 - 0x00007ffb3c656000 C:\WINDOWS\System32\win32u.dll
|
||||
0x00007ffb3e8a0000 - 0x00007ffb3e8c9000 C:\WINDOWS\System32\GDI32.dll
|
||||
0x00007ffb3cd70000 - 0x00007ffb3ce8b000 C:\WINDOWS\System32\gdi32full.dll
|
||||
0x00007ffb3c660000 - 0x00007ffb3c6fa000 C:\WINDOWS\System32\msvcp_win.dll
|
||||
0x00007ffb3cae0000 - 0x00007ffb3cbf1000 C:\WINDOWS\System32\ucrtbase.dll
|
||||
0x00007ffb2d9a0000 - 0x00007ffb2dc32000 C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.22621.4830_none_270fe7d773858e80\COMCTL32.dll
|
||||
0x00007ffb3d5a0000 - 0x00007ffb3d5d1000 C:\WINDOWS\System32\IMM32.DLL
|
||||
0x00007ffb286b0000 - 0x00007ffb286cb000 D:\Java\jdk\jre\bin\vcruntime140.dll
|
||||
0x00007ffb30ae0000 - 0x00007ffb30aec000 D:\Java\jdk\jre\bin\vcruntime140_1.dll
|
||||
0x00007ffb26900000 - 0x00007ffb2698e000 D:\Java\jdk\jre\bin\msvcp140.dll
|
||||
0x00007ffaf5760000 - 0x00007ffaf6010000 D:\Java\jdk\jre\bin\server\jvm.dll
|
||||
0x00007ffb3e400000 - 0x00007ffb3e408000 C:\WINDOWS\System32\PSAPI.DLL
|
||||
0x00007ffb36860000 - 0x00007ffb3686a000 C:\WINDOWS\SYSTEM32\VERSION.dll
|
||||
0x00007ffb1a570000 - 0x00007ffb1a579000 C:\WINDOWS\SYSTEM32\WSOCK32.dll
|
||||
0x00007ffb33fb0000 - 0x00007ffb33fe4000 C:\WINDOWS\SYSTEM32\WINMM.dll
|
||||
0x00007ffb3e380000 - 0x00007ffb3e3f1000 C:\WINDOWS\System32\WS2_32.dll
|
||||
0x00007ffb3b6f0000 - 0x00007ffb3b708000 C:\WINDOWS\SYSTEM32\kernel.appcore.dll
|
||||
0x00007ffb30a70000 - 0x00007ffb30a80000 D:\Java\jdk\jre\bin\verify.dll
|
||||
0x00007ffb28680000 - 0x00007ffb286ab000 D:\Java\jdk\jre\bin\java.dll
|
||||
0x00007ffb269d0000 - 0x00007ffb26a06000 D:\Java\jdk\jre\bin\jdwp.dll
|
||||
0x00007ffb284b0000 - 0x00007ffb284b9000 D:\Java\jdk\jre\bin\npt.dll
|
||||
0x00007ffb26aa0000 - 0x00007ffb26ad4000 D:\Java\jdk\jre\bin\instrument.dll
|
||||
0x00007ffb28660000 - 0x00007ffb28678000 D:\Java\jdk\jre\bin\zip.dll
|
||||
0x00007ffb3e8d0000 - 0x00007ffb3f158000 C:\WINDOWS\System32\SHELL32.dll
|
||||
0x00007ffb3ce90000 - 0x00007ffb3cfcf000 C:\WINDOWS\System32\wintypes.dll
|
||||
0x00007ffb3de60000 - 0x00007ffb3e1f0000 C:\WINDOWS\System32\combase.dll
|
||||
0x00007ffb3a520000 - 0x00007ffb3ae2d000 C:\WINDOWS\SYSTEM32\windows.storage.dll
|
||||
0x00007ffb3daf0000 - 0x00007ffb3dbfa000 C:\WINDOWS\System32\SHCORE.dll
|
||||
0x00007ffb3d300000 - 0x00007ffb3d35e000 C:\WINDOWS\System32\shlwapi.dll
|
||||
0x00007ffb3c4e0000 - 0x00007ffb3c50b000 C:\WINDOWS\SYSTEM32\profapi.dll
|
||||
0x00007ffb28440000 - 0x00007ffb2844a000 D:\Java\jdk\jre\bin\dt_socket.dll
|
||||
0x00007ffb3bb60000 - 0x00007ffb3bbca000 C:\WINDOWS\system32\mswsock.dll
|
||||
0x00007ffb28400000 - 0x00007ffb2841c000 D:\java\jdk\jre\bin\net.dll
|
||||
0x00007ffb3b130000 - 0x00007ffb3b232000 C:\WINDOWS\SYSTEM32\DNSAPI.dll
|
||||
0x00007ffb3b100000 - 0x00007ffb3b12d000 C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL
|
||||
0x00007ffb3dc00000 - 0x00007ffb3dc09000 C:\WINDOWS\System32\NSI.dll
|
||||
0x00007ffb38ad0000 - 0x00007ffb38ada000 C:\Windows\System32\rasadhlp.dll
|
||||
0x00007ffb389a0000 - 0x00007ffb38a23000 C:\WINDOWS\System32\fwpuclnt.dll
|
||||
0x00007ffb30900000 - 0x00007ffb3090d000 D:\java\jdk\jre\bin\management.dll
|
||||
0x00007ffb26c80000 - 0x00007ffb26c93000 D:\java\jdk\jre\bin\nio.dll
|
||||
0x00007ffb3bdc0000 - 0x00007ffb3bddb000 C:\WINDOWS\SYSTEM32\CRYPTSP.dll
|
||||
0x00007ffb3b650000 - 0x00007ffb3b687000 C:\WINDOWS\system32\rsaenh.dll
|
||||
0x00007ffb3bc50000 - 0x00007ffb3bc78000 C:\WINDOWS\SYSTEM32\USERENV.dll
|
||||
0x00007ffb3d0c0000 - 0x00007ffb3d13b000 C:\WINDOWS\System32\bcryptprimitives.dll
|
||||
0x00007ffb3bdb0000 - 0x00007ffb3bdbc000 C:\WINDOWS\SYSTEM32\CRYPTBASE.dll
|
||||
0x00007ffb38d30000 - 0x00007ffb38d49000 C:\WINDOWS\SYSTEM32\dhcpcsvc6.DLL
|
||||
0x00007ffb38d10000 - 0x00007ffb38d2f000 C:\WINDOWS\SYSTEM32\dhcpcsvc.DLL
|
||||
0x00007ffb19690000 - 0x00007ffb196a7000 C:\WINDOWS\system32\napinsp.dll
|
||||
0x00007ffb19670000 - 0x00007ffb1968b000 C:\WINDOWS\system32\pnrpnsp.dll
|
||||
0x00007ffb19650000 - 0x00007ffb19661000 C:\WINDOWS\System32\winrnr.dll
|
||||
0x00007ffb19560000 - 0x00007ffb19575000 C:\WINDOWS\system32\wshbth.dll
|
||||
0x00007ffb19530000 - 0x00007ffb19557000 C:\WINDOWS\system32\nlansp_c.dll
|
||||
0x00007ffb26a70000 - 0x00007ffb26a95000 D:\java\jdk\jre\bin\sunec.dll
|
||||
0x00007ffb26ba0000 - 0x00007ffb26bae000 D:\java\jdk\jre\bin\sunmscapi.dll
|
||||
0x00007ffb3cc00000 - 0x00007ffb3cd66000 C:\WINDOWS\System32\CRYPT32.dll
|
||||
0x00007ffb3bf70000 - 0x00007ffb3bf9d000 C:\WINDOWS\SYSTEM32\ncrypt.dll
|
||||
0x00007ffb3bf30000 - 0x00007ffb3bf67000 C:\WINDOWS\SYSTEM32\NTASN1.dll
|
||||
|
||||
VM Arguments:
|
||||
jvm_args: -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:35322,suspend=y,server=n -XX:TieredStopAtLevel=1 -Xverify:none -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true -Dmanagement.endpoints.jmx.exposure.include=* -javaagent:C:\Users\86157\AppData\Local\JetBrains\IntelliJIdea2023.3\captureAgent\debugger-agent.jar=file:/C:/Users/86157/AppData/Local/Temp/capture.props -Dfile.encoding=UTF-8
|
||||
java_command: com.securitycontrol.screen.VscScreenApplication
|
||||
java_class_path (initial): D:\java\jdk\jre\lib\charsets.jar;D:\java\jdk\jre\lib\deploy.jar;D:\java\jdk\jre\lib\ext\access-bridge-64.jar;D:\java\jdk\jre\lib\ext\cldrdata.jar;D:\java\jdk\jre\lib\ext\dnsns.jar;D:\java\jdk\jre\lib\ext\jaccess.jar;D:\java\jdk\jre\lib\ext\jfxrt.jar;D:\java\jdk\jre\lib\ext\localedata.jar;D:\java\jdk\jre\lib\ext\nashorn.jar;D:\java\jdk\jre\lib\ext\sunec.jar;D:\java\jdk\jre\lib\ext\sunjce_provider.jar;D:\java\jdk\jre\lib\ext\sunmscapi.jar;D:\java\jdk\jre\lib\ext\sunpkcs11.jar;D:\java\jdk\jre\lib\ext\zipfs.jar;D:\java\jdk\jre\lib\javaws.jar;D:\java\jdk\jre\lib\jce.jar;D:\java\jdk\jre\lib\jfr.jar;D:\java\jdk\jre\lib\jfxswt.jar;D:\java\jdk\jre\lib\jsse.jar;D:\java\jdk\jre\lib\management-agent.jar;D:\java\jdk\jre\lib\plugin.jar;D:\java\jdk\jre\lib\resources.jar;D:\java\jdk\jre\lib\rt.jar;F:\workspace\idea\zhgd\zhgd-ht-service\securitycontrol-model\securitycontrol-screen\target\classes;D:\maven\apache-maven-3.6.1\conf\zhgdRepo\com\alibaba\cloud\spring-cloud-starter-alibaba-nacos-discovery\2.2.3.RELEASE\spring-cloud-starter-alibaba-nacos-discovery-2.2.3.RELEASE.jar;D:\maven\apache-maven-3.6.1\conf\zhgdRepo\com\alibaba\nacos\nacos-client\2.0.4\nacos-client-2.0.4.jar;D:\maven\apache-maven-3.6.1\conf\zhgdRepo\commons-codec\commons-codec\1.15\commons-codec-1.15.jar;D:\maven\apache-maven-3.6.1\conf\zhgdRepo\com\fasterxml\jackson\core\jackson-core\2.13.3\jackson-core-2.13.3.jar;D:\maven\apache-maven-3.6.1\conf\zhgdRepo\org\apache\httpcomponents\httpasyncclient\4.1.5\httpasyncclient-4.1.5.jar;D:\maven\apache-maven-3.6.1\conf\zhgdRepo\org\apache\httpcomponents\httpcore\4.4.15\httpcore-4.4.15.jar;D:\maven\apache-maven-3.6.1\conf\zhgdRepo\org\apache\httpcomponents\httpcore-nio\4.4.15\httpcore-nio-4.4.15.jar;D:\maven\apache-maven-3.6.1\conf\zhgdRepo\org\apache\httpcomponents\httpclient\4.5.13\httpclient-4.5.13.jar;D:\maven\apache-maven-3.6.1\conf\zhgdRepo\org\reflections\reflections\0.9.11\reflections-0.9.11.jar;D:\maven\apache-maven-3.6.1\conf\zhgdRepo\or
|
||||
Launcher Type: SUN_STANDARD
|
||||
|
||||
Environment Variables:
|
||||
JAVA_HOME=D:\java\jdk
|
||||
CLASSPATH=.;D:\java\jdk\lib;D:\java\jdk\lib\tools.jar
|
||||
PATH=D:\software\FortifySC\bin;C:\app\heizi\product\11.2.0\dbhome_3\bin;C:\app\ºÚ×Ó\product\11.2.0\dbhome_3\bin;C;\app\ºÚ×Ó\product\11.2.0\dbhome_2\bin;C;\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;D:\software\bandizip\;D:\java\jdk\bin;D:\java\jdk\jre\bin;%CATALINA_HOME%\bin;%CATALINA_BASE%\bin;D:\maven\apache-maven-3.6.1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;G:\software\svn\bin;D:\software\svn\bin;D:\software\nvmHome\nvm\nvm;D:\software\nvmHome\node;D:\software\TortoiseGit\bin;C:\Program Files\Git\cmd;C:\Users\86157\AppData\Local\Microsoft\WindowsApps;D:\software\nvmHome\nvm\nvm;D:\software\nvmHome\node;D:\software\namp\Nmap;D:\software\qqyouxi\QQGameTempest\Hall.58319\;D:\software\idea\IntelliJ IDEA 2023.3.6\bin;;D:\software\Microsoft VS Code\bin
|
||||
USERNAME=ºÚ×Ó
|
||||
OS=Windows_NT
|
||||
PROCESSOR_IDENTIFIER=AMD64 Family 25 Model 68 Stepping 1, AuthenticAMD
|
||||
|
||||
|
||||
|
||||
--------------- S Y S T E M ---------------
|
||||
|
||||
OS: Windows 11 , 64 bit Build 22621 (10.0.22621.4974)
|
||||
|
||||
CPU:total 16 (initial active 16) (16 cores per cpu, 1 threads per core) family 25 model 68 stepping 1, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, erms, mmxext, 3dnowpref, lzcnt, sse4a, tsc, tscinvbit, tscinv, bmi1
|
||||
|
||||
Memory: 4k page, physical 15930072k(648196k free), swap 33980500k(1364k free)
|
||||
|
||||
vm_info: Java HotSpot(TM) 64-Bit Server VM (25.401-b10) for windows-amd64 JRE (1.8.0_401-b10), built on Dec 19 2023 12:38:48 by "java_re" with MS VC++ 17.1 (VS2022)
|
||||
|
||||
time: Mon Apr 7 14:26:04 2025
|
||||
timezone: AMD64 Family 25 Model 68 Stepping 1, AuthenticAMD
|
||||
elapsed time: 13.305766 seconds (0d 0h 0m 13s)
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
|
|
@ -20,9 +20,9 @@
|
|||
<groupId>com.securitycontrol</groupId>
|
||||
<artifactId>securitycontrol-commons-core</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-data-mongodb</artifactId>
|
||||
</dependency>
|
||||
<!-- <dependency>-->
|
||||
<!-- <groupId>org.springframework.boot</groupId>-->
|
||||
<!-- <artifactId>spring-boot-starter-data-mongodb</artifactId>-->
|
||||
<!-- </dependency>-->
|
||||
</dependencies>
|
||||
</project>
|
||||
|
|
@ -9,7 +9,7 @@
|
|||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>securitycontrol-auth</artifactId>
|
||||
<artifactId>zhgd-auth</artifactId>
|
||||
|
||||
<dependencies>
|
||||
|
||||
|
|
|
|||
|
|
@ -134,8 +134,9 @@ public class TokenController {
|
|||
return Result.ok(tokenService.createToken(userInfo2), "登录成功");
|
||||
}
|
||||
}
|
||||
@PostMapping("login")
|
||||
public Result<?> login(@RequestBody LoginBody form) {
|
||||
|
||||
@PostMapping("login3")
|
||||
public Result<?> login3(@RequestBody LoginBody form) {
|
||||
try {
|
||||
String jmUser = SMHelper.sm2Decrypt("00f98c8d29d2177ca303106b26adfedf3f8c74cb12fc67c4b42ade0b5d1cb43b1c", form.getUsername());
|
||||
String jmPwd = SMHelper.sm2Decrypt("00f98c8d29d2177ca303106b26adfedf3f8c74cb12fc67c4b42ade0b5d1cb43b1c", form.getPassword());
|
||||
|
|
@ -161,7 +162,24 @@ public class TokenController {
|
|||
LoginUser userInfo2 = sysLoginService.login(form.getUsername(),password, form.getLoginType(), menu);
|
||||
// 获取登录token
|
||||
return Result.ok(tokenService.createToken(userInfo2), "登录成功");
|
||||
}
|
||||
|
||||
|
||||
@PostMapping("login")
|
||||
public Result<?> login(@RequestBody LoginBody form) {
|
||||
try {
|
||||
String jmUser = SMHelper.sm2Decrypt("00f98c8d29d2177ca303106b26adfedf3f8c74cb12fc67c4b42ade0b5d1cb43b1c", form.getUsername());
|
||||
String jmPwd = SMHelper.sm2Decrypt("00f98c8d29d2177ca303106b26adfedf3f8c74cb12fc67c4b42ade0b5d1cb43b1c", form.getPassword());
|
||||
form.setUsername(jmUser);
|
||||
form.setPassword(jmPwd);
|
||||
System.err.println("user===="+jmUser);
|
||||
System.err.println(jmPwd);
|
||||
}catch (Exception e){
|
||||
throw new ServiceException("用户名/密码错误",201);
|
||||
}
|
||||
LoginUser userInfo2 = sysLoginService.login(form.getUsername(),form.getPassword(), form.getLoginType(), null);
|
||||
// 获取登录token
|
||||
return Result.ok(tokenService.createToken(userInfo2), "登录成功");
|
||||
}
|
||||
private Map<String, Object> getIscLogin(String username, String password) {
|
||||
Map<String,Object> map= Maps.newHashMap();
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# Tomcat
|
||||
server:
|
||||
port: 18081
|
||||
port: 13031
|
||||
management:
|
||||
server:
|
||||
port: -1
|
||||
|
|
@ -16,16 +16,19 @@ spring:
|
|||
cloud:
|
||||
nacos:
|
||||
username: nacos
|
||||
password: Jjsp@nacos2023
|
||||
password: nacos
|
||||
# password: Jjsp@nacos2023
|
||||
discovery:
|
||||
# 服务注册地址
|
||||
server-addr: 127.0.0.1:18848
|
||||
server-addr: 192.168.0.14:8848
|
||||
# server-addr: 127.0.0.1:18848
|
||||
# server-addr: 127.0.0.1:8848
|
||||
namespace: jjzhgd
|
||||
namespace: jj_zhgd_test
|
||||
config:
|
||||
server-addr: 127.0.0.1:18848
|
||||
server-addr: 192.168.0.14:8848
|
||||
# server-addr: 127.0.0.1:18848
|
||||
# server-addr: 127.0.0.1:8848
|
||||
namespace: jjzhgd
|
||||
namespace: jj_zhgd_test
|
||||
# 配置文件格式
|
||||
file-extension: yml
|
||||
# 共享配置
|
||||
|
|
|
|||
|
|
@ -50,10 +50,10 @@ public class FileExportVo implements Serializable {
|
|||
|
||||
|
||||
public FileExportVo(MongoFile mongoFile) {
|
||||
BeanUtil.copyProperties(mongoFile, this);
|
||||
if (Objects.nonNull(mongoFile.getContent())) {
|
||||
this.data = mongoFile.getContent().getData();
|
||||
}
|
||||
// BeanUtil.copyProperties(mongoFile, this);
|
||||
// if (Objects.nonNull(mongoFile.getContent())) {
|
||||
// this.data = mongoFile.getContent().getData();
|
||||
// }
|
||||
this.fileId = mongoFile.getId();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -2,9 +2,8 @@ package com.securitycontrol.entity.file.model;
|
|||
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import org.bson.types.Binary;
|
||||
import org.springframework.data.annotation.Id;
|
||||
import org.springframework.data.mongodb.core.mapping.Document;
|
||||
|
||||
|
||||
/**
|
||||
* @author coisini
|
||||
|
|
@ -12,7 +11,6 @@ import org.springframework.data.mongodb.core.mapping.Document;
|
|||
* @Description MongoDB文件实体
|
||||
* @date Apr 17, 2022
|
||||
*/
|
||||
@Document
|
||||
@Builder
|
||||
@Data
|
||||
public class MongoFile {
|
||||
|
|
@ -46,7 +44,7 @@ public class MongoFile {
|
|||
/**
|
||||
* 文件内容
|
||||
*/
|
||||
private Binary content;
|
||||
// private Binary content;
|
||||
|
||||
/**
|
||||
* 文件类型
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@ package com.securitycontrol.common.security.config;
|
|||
import com.securitycontrol.common.security.interceptor.ParamSecureHandler;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.stereotype.Component;
|
||||
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
|
||||
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ package com.securitycontrol.common.security.interceptor;
|
|||
import com.securitycontrol.common.core.utils.ServletUtils;
|
||||
import com.securitycontrol.common.core.utils.aes.StringHelper;
|
||||
import com.securitycontrol.common.core.utils.ip.IpUtils;
|
||||
import com.securitycontrol.common.security.utils.RequestWrapper;
|
||||
import com.securitycontrol.common.security.utils.XssRequestWrapper;
|
||||
|
||||
import javax.servlet.*;
|
||||
|
|
@ -26,6 +27,8 @@ public class MyFilter implements Filter {
|
|||
|
||||
@Override
|
||||
public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) throws IOException, ServletException {
|
||||
|
||||
// filterChain.doFilter(servletRequest, servletResponse);
|
||||
ServletRequest requestWrapper = null;
|
||||
HttpServletResponse response = (HttpServletResponse) servletResponse;
|
||||
HttpServletRequest request = (HttpServletRequest) servletRequest;
|
||||
|
|
@ -84,7 +87,7 @@ public class MyFilter implements Filter {
|
|||
}
|
||||
}
|
||||
|
||||
public static final String[] EXCLUDE_URLS = {"/sys/pro/addPro","/sys/pro/editPro","/sys/pro/importProData","/back/personnel/addPersonnel","/back/personnel/editPersonnel"};
|
||||
public static final String[] EXCLUDE_URLS = {"/sys/pro/addPro","/file/singleUploadFile","/sys/pro/editPro","/sys/pro/importProData","/back/personnel/addPersonnel","/back/personnel/editPersonnel"};
|
||||
|
||||
public boolean isFileUpload(HttpServletRequest request) {
|
||||
for (String excludeUrl : EXCLUDE_URLS) {
|
||||
|
|
|
|||
|
|
@ -198,6 +198,11 @@ public class ParamSecureHandler implements AsyncHandlerInterceptor {
|
|||
* 判断是否越权
|
||||
*/
|
||||
private boolean checkIsYq(HttpServletRequest request) throws Exception {
|
||||
String head=request.getHeader(SecurityConstants.FROM_SOURCE);
|
||||
if(SecurityConstants.INNER.equals(head)){
|
||||
return true;
|
||||
}
|
||||
|
||||
String requestUri = request.getRequestURI();
|
||||
if(Arrays.asList(WHITE_URLS).contains(requestUri)){
|
||||
return true;
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>securitycontrol-gateway</artifactId>
|
||||
<artifactId>zhgd-gateway</artifactId>
|
||||
|
||||
|
||||
<description>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# Tomcat
|
||||
server:
|
||||
port: 18080
|
||||
port: 13030
|
||||
servlet:
|
||||
context-path: zhgd
|
||||
# Spring
|
||||
|
|
@ -16,17 +16,22 @@ spring:
|
|||
cloud:
|
||||
nacos:
|
||||
username: nacos
|
||||
password: Jjsp@nacos2023
|
||||
password: nacos
|
||||
# password: Jjsp@nacos2023
|
||||
discovery:
|
||||
# 服务注册地址
|
||||
server-addr: 127.0.0.1:18848
|
||||
# server-addr: 127.0.0.1:18848
|
||||
server-addr: 192.168.0.14:8848
|
||||
# server-addr: 192.168.0.14:8848
|
||||
# server-addr: 127.0.0.1:8848
|
||||
namespace: jjzhgd
|
||||
namespace: jj_zhgd_test
|
||||
config:
|
||||
# 配置中心地址
|
||||
server-addr: 127.0.0.1:18848
|
||||
# server-addr: 127.0.0.1:18848
|
||||
server-addr: 192.168.0.14:8848
|
||||
# server-addr: 192.168.0.14:8848
|
||||
# server-addr: 127.0.0.1:8848
|
||||
namespace: jjzhgd
|
||||
namespace: jj_zhgd_test
|
||||
# 配置文件格式
|
||||
file-extension: yml
|
||||
#server-addr: 10.145.34.32:8848
|
||||
|
|
@ -48,8 +53,8 @@ endpoints:
|
|||
env:
|
||||
enable: false
|
||||
system:
|
||||
jm: true
|
||||
res: true
|
||||
jm: false
|
||||
res: false
|
||||
#加密组件
|
||||
jasypt:
|
||||
encryptor:
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>securitycontrol-Interface</artifactId>
|
||||
<artifactId>zhgd-Interface</artifactId>
|
||||
<dependencies>
|
||||
|
||||
<!-- SpringCloud Alibaba Nacos -->
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
<version>3.6.1</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>securitycontrol-background</artifactId>
|
||||
<artifactId>zhgd-background</artifactId>
|
||||
<dependencies>
|
||||
<!-- SpringCloud Alibaba Nacos -->
|
||||
<dependency>
|
||||
|
|
@ -76,7 +76,11 @@
|
|||
<groupId>com.securitycontrol</groupId>
|
||||
<artifactId>securitycontrol-commons-datascope</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.github.ulisesbocchio</groupId>
|
||||
<artifactId>jasypt-spring-boot-starter</artifactId>
|
||||
<version>3.0.2</version>
|
||||
</dependency>
|
||||
<!-- VideoSecurityControl Common Log -->
|
||||
<dependency>
|
||||
<groupId>com.securitycontrol</groupId>
|
||||
|
|
@ -104,7 +108,7 @@
|
|||
|
||||
<dependency>
|
||||
<groupId>com.securitycontrol</groupId>
|
||||
<artifactId>securitycontrol-system</artifactId>
|
||||
<artifactId>zhgd-system</artifactId>
|
||||
<version>3.6.1</version>
|
||||
</dependency>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# Tomcat
|
||||
server:
|
||||
port: 18085
|
||||
port: 13033
|
||||
management:
|
||||
server:
|
||||
port: -1
|
||||
|
|
@ -18,13 +18,16 @@ spring:
|
|||
cloud:
|
||||
nacos:
|
||||
username: nacos
|
||||
password: Jjsp@nacos2023
|
||||
password: nacos
|
||||
# password: Jjsp@nacos2023
|
||||
discovery:
|
||||
server-addr: 127.0.0.1:18848
|
||||
namespace: jjzhgd
|
||||
# server-addr: 127.0.0.1:18848
|
||||
server-addr: 192.168.0.14:8848
|
||||
namespace: jj_zhgd_test
|
||||
config:
|
||||
server-addr: 127.0.0.1:18848
|
||||
namespace: jjzhgd
|
||||
# server-addr: 127.0.0.1:18848
|
||||
server-addr: 192.168.0.14:8848
|
||||
namespace: jj_zhgd_test
|
||||
# 配置文件格式
|
||||
file-extension: yml
|
||||
# 共享配置
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
<version>3.6.1</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>securitycontrol-files</artifactId>
|
||||
<artifactId>zhgd-files</artifactId>
|
||||
|
||||
<dependencies>
|
||||
<!-- SpringCloud Alibaba Nacos -->
|
||||
|
|
@ -97,10 +97,10 @@
|
|||
<groupId>net.logstash.logback</groupId>
|
||||
<artifactId>logstash-logback-encoder</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-data-mongodb</artifactId>
|
||||
</dependency>
|
||||
<!-- <dependency>-->
|
||||
<!-- <groupId>org.springframework.boot</groupId>-->
|
||||
<!-- <artifactId>spring-boot-starter-data-mongodb</artifactId>-->
|
||||
<!-- </dependency>-->
|
||||
<dependency>
|
||||
<groupId>com.securitycontrol</groupId>
|
||||
<artifactId>securitycontrol-commons-entity</artifactId>
|
||||
|
|
|
|||
|
|
@ -3,13 +3,10 @@ package com.securitycontrol.files;
|
|||
import com.securitycontrol.common.security.annotation.EnableCustomConfig;
|
||||
import com.securitycontrol.common.security.annotation.EnableRyFeignClients;
|
||||
import com.securitycontrol.common.swagger.annotation.EnableCustomSwagger2;
|
||||
import com.securitycontrol.files.mongodb.config.MongoConfig;
|
||||
import com.ulisesbocchio.jasyptspringboot.annotation.EnableEncryptableProperties;
|
||||
import org.mybatis.spring.annotation.MapperScan;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
|
||||
import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration;
|
||||
|
||||
import org.springframework.scheduling.annotation.EnableScheduling;
|
||||
|
||||
/**
|
||||
|
|
@ -20,7 +17,6 @@ import org.springframework.scheduling.annotation.EnableScheduling;
|
|||
@EnableCustomSwagger2
|
||||
@EnableRyFeignClients
|
||||
@SpringBootApplication
|
||||
@EnableScheduling
|
||||
@EnableEncryptableProperties
|
||||
public class VscFileApplication
|
||||
{
|
||||
|
|
|
|||
|
|
@ -3,17 +3,25 @@ package com.securitycontrol.files.controller;
|
|||
import com.securitycontrol.common.core.domain.Result;
|
||||
import com.securitycontrol.common.core.utils.BASE64DecodedMultipartFile;
|
||||
import com.securitycontrol.entity.file.FileExportVo;
|
||||
import com.securitycontrol.files.mongodb.service.FileUploadService;
|
||||
import com.securitycontrol.files.mongodb.util.MongodbFileUtil;
|
||||
|
||||
import com.securitycontrol.system.api.domain.SysFile;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.apache.commons.codec.binary.Base64;
|
||||
import org.apache.commons.io.FileUtils;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.util.StringUtils;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.nio.file.Files;
|
||||
import java.nio.file.Path;
|
||||
import java.nio.file.Paths;
|
||||
import java.nio.file.StandardCopyOption;
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* @author:cwchen
|
||||
|
|
@ -26,18 +34,32 @@ import java.util.List;
|
|||
@Slf4j
|
||||
public class FileUploadController {
|
||||
|
||||
@Resource(name = "fileMongoServiceImpl")
|
||||
private FileUploadService mongoService;
|
||||
// @Resource(name = "fileMongoServiceImpl")
|
||||
// private FileUploadService mongoService;
|
||||
|
||||
@Value("${file.upload.path}")
|
||||
public String uploadPath;
|
||||
|
||||
@ApiOperation(value = "获取图片base64地址")
|
||||
@PostMapping("getImgBase64")
|
||||
public Result<SysFile> getImgBase64(@RequestBody String fileId){
|
||||
try {
|
||||
String suffix="jpeg";
|
||||
int dotIndex = fileId.lastIndexOf(".");
|
||||
if (dotIndex > 0) {
|
||||
suffix = fileId.substring(dotIndex + 1);
|
||||
}
|
||||
SysFile sysFile = new SysFile();
|
||||
FileExportVo fileExportVo = mongoService.downloadFile(fileId);
|
||||
String base64 = MongodbFileUtil.getBase64(fileExportVo);
|
||||
sysFile.setName(fileExportVo.getFileName());
|
||||
sysFile.setUrl(base64);
|
||||
File file = new File(fileId);
|
||||
byte[] fileBytes = FileUtils.readFileToByteArray(file);
|
||||
String bast64= Base64.encodeBase64String(fileBytes);
|
||||
sysFile.setName("file");
|
||||
sysFile.setUrl("data:image/" + suffix + ";base64,"+bast64);
|
||||
// SysFile sysFile = new SysFile();
|
||||
// FileExportVo fileExportVo = mongoService.downloadFile(fileId);
|
||||
// String base64 = MongodbFileUtil.getBase64(fileExportVo);
|
||||
// sysFile.setName(fileExportVo.getFileName());
|
||||
// sysFile.setUrl(base64);
|
||||
return Result.ok(sysFile);
|
||||
} catch (Exception e) {
|
||||
log.error("获取图片的base64地址",e);
|
||||
|
|
@ -45,15 +67,28 @@ public class FileUploadController {
|
|||
}
|
||||
}
|
||||
|
||||
public static void main(String[] args) throws IOException {
|
||||
String fileId= "F:\\File\\8563c763-e6a6-404b-8349-17731933cc7e_屏幕截图 2024-06-27 112227.png";
|
||||
File file = new File(fileId);
|
||||
byte[] fileBytes = FileUtils.readFileToByteArray(file);
|
||||
String bast64= Base64.encodeBase64String(fileBytes);
|
||||
}
|
||||
|
||||
@ApiOperation(value = "获取图片base64地址")
|
||||
@PostMapping("getFileBast64")
|
||||
public Result<SysFile> getFileBast64(@RequestBody String fileId){
|
||||
try {
|
||||
|
||||
SysFile sysFile = new SysFile();
|
||||
FileExportVo fileExportVo = mongoService.downloadFile(fileId);
|
||||
String base64 = MongodbFileUtil.getBase64File(fileExportVo);
|
||||
sysFile.setName(fileExportVo.getFileName());
|
||||
sysFile.setUrl(base64);
|
||||
File file = new File(fileId);
|
||||
byte[] fileBytes = FileUtils.readFileToByteArray(file);
|
||||
String bast64= Base64.encodeBase64String(fileBytes);
|
||||
sysFile.setName("file");
|
||||
sysFile.setUrl(bast64);
|
||||
// FileExportVo fileExportVo = mongoService.downloadFile(fileId);
|
||||
// String base64 = MongodbFileUtil.getBase64File(fileExportVo);
|
||||
// sysFile.setName(fileExportVo.getFileName());
|
||||
// sysFile.setUrl(base64);
|
||||
return Result.ok(sysFile);
|
||||
} catch (Exception e) {
|
||||
log.error("获取图片的base64地址",e);
|
||||
|
|
@ -65,9 +100,13 @@ public class FileUploadController {
|
|||
@PostMapping("getFileByte")
|
||||
public Result<byte[]> getFileByte(@RequestBody String fileId){
|
||||
try {
|
||||
SysFile sysFile = new SysFile();
|
||||
FileExportVo fileExportVo = mongoService.downloadFile(fileId);
|
||||
return Result.ok(fileExportVo.getData());
|
||||
File file = new File(fileId);
|
||||
byte[] fileBytes = FileUtils.readFileToByteArray(file);
|
||||
return Result.ok(fileBytes);
|
||||
// return Base64.encodeBase64String(fileBytes);
|
||||
// SysFile sysFile = new SysFile();
|
||||
// FileExportVo fileExportVo = mongoService.downloadFile(fileId);
|
||||
// return Result.ok(fileExportVo.getData());
|
||||
} catch (Exception e) {
|
||||
log.error("获取图片的base64地址",e);
|
||||
return Result.fail();
|
||||
|
|
@ -79,8 +118,22 @@ public class FileUploadController {
|
|||
@PostMapping("singleUploadFile")
|
||||
public Result singleUploadFile(@RequestParam(value = "file", required = false) MultipartFile file){
|
||||
try {
|
||||
FileExportVo fileExportVo = mongoService.uploadFile(file);
|
||||
return Result.ok(fileExportVo);
|
||||
FileExportVo files=new FileExportVo();
|
||||
// 获取文件名
|
||||
String fileName = StringUtils.cleanPath(Objects.requireNonNull(file.getOriginalFilename()));
|
||||
// 生成一个唯一的文件名,避免文件名冲突
|
||||
String newFileName = UUID.randomUUID().toString() + "_" + fileName;
|
||||
Path path = Paths.get(uploadPath);
|
||||
Files.createDirectories(path);
|
||||
// 将文件复制到目标位置(替换已存在的同名文件)
|
||||
Path filePath = path.resolve(newFileName);
|
||||
Files.copy(file.getInputStream(), filePath, StandardCopyOption.REPLACE_EXISTING);
|
||||
// 文件的绝对路径
|
||||
String storedFilePath = filePath.toAbsolutePath().toString();
|
||||
files.setFileId(storedFilePath);
|
||||
files.setFileName(fileName);
|
||||
// FileExportVo fileExportVo = mongoService.uploadFile(file);
|
||||
return Result.ok(files);
|
||||
} catch (Exception e) {
|
||||
log.error("单文件上传",e);
|
||||
return Result.fail();
|
||||
|
|
@ -89,10 +142,30 @@ public class FileUploadController {
|
|||
|
||||
@ApiOperation(value = "多文件上传")
|
||||
@PostMapping("mostUploadFile")
|
||||
public Result mostUploadFile(@RequestParam(value = "files", required = false) MultipartFile[] files){
|
||||
public Result mostUploadFile(@RequestParam(value = "files", required = false) MultipartFile[] data){
|
||||
try {
|
||||
List<MultipartFile> multipartFiles = Arrays.asList(files);
|
||||
List<FileExportVo> list = mongoService.uploadFiles(multipartFiles);
|
||||
List<MultipartFile> multipartFiles = Arrays.asList(data);
|
||||
List<FileExportVo> list=new ArrayList<>();
|
||||
for (MultipartFile multipartFile:multipartFiles){
|
||||
// MultipartFile multipartFile = BASE64DecodedMultipartFile.base64ToMultipart(me);
|
||||
// FileExportVo fileExportVo = mongoService.uploadFile(multipartFile);
|
||||
FileExportVo files=new FileExportVo();
|
||||
// 获取文件名
|
||||
String fileName = StringUtils.cleanPath(Objects.requireNonNull(multipartFile.getOriginalFilename()));
|
||||
// 生成一个唯一的文件名,避免文件名冲突
|
||||
String newFileName = UUID.randomUUID().toString() + "_" + fileName;
|
||||
Path path = Paths.get(uploadPath);
|
||||
Files.createDirectories(path);
|
||||
// 将文件复制到目标位置(替换已存在的同名文件)
|
||||
Path filePath = path.resolve(newFileName);
|
||||
Files.copy(multipartFile.getInputStream(), filePath, StandardCopyOption.REPLACE_EXISTING);
|
||||
// 文件的绝对路径
|
||||
String storedFilePath = filePath.toAbsolutePath().toString();
|
||||
files.setFileId(storedFilePath);
|
||||
files.setFileName(fileName);
|
||||
list.add(files);
|
||||
}
|
||||
// List<FileExportVo> list = mongoService.uploadFiles(multipartFiles);
|
||||
return Result.ok(list);
|
||||
} catch (Exception e) {
|
||||
log.error("多文件上传",e);
|
||||
|
|
@ -104,7 +177,11 @@ public class FileUploadController {
|
|||
@PostMapping("delFile")
|
||||
public Result delFile(@RequestBody String fileId){
|
||||
try {
|
||||
mongoService.removeFile(fileId);
|
||||
File file = new File(fileId);
|
||||
if(file.exists()){
|
||||
file.delete();
|
||||
}
|
||||
// mongoService.removeFile(fileId);
|
||||
return Result.ok();
|
||||
} catch (Exception e) {
|
||||
log.error("文件删除",e);
|
||||
|
|
@ -117,8 +194,22 @@ public class FileUploadController {
|
|||
public Result uploadFileByBase64(@RequestParam(value = "base64", required = false) String base64){
|
||||
try {
|
||||
MultipartFile multipartFile = BASE64DecodedMultipartFile.base64ToMultipart(base64);
|
||||
FileExportVo fileExportVo = mongoService.uploadFile(multipartFile);
|
||||
return Result.ok(fileExportVo);
|
||||
// FileExportVo fileExportVo = mongoService.uploadFile(multipartFile);
|
||||
FileExportVo files=new FileExportVo();
|
||||
// 获取文件名
|
||||
String fileName = StringUtils.cleanPath(Objects.requireNonNull(multipartFile.getOriginalFilename()));
|
||||
// 生成一个唯一的文件名,避免文件名冲突
|
||||
String newFileName = UUID.randomUUID().toString() + "_" + fileName;
|
||||
Path path = Paths.get(uploadPath);
|
||||
Files.createDirectories(path);
|
||||
// 将文件复制到目标位置(替换已存在的同名文件)
|
||||
Path filePath = path.resolve(newFileName);
|
||||
Files.copy(multipartFile.getInputStream(), filePath, StandardCopyOption.REPLACE_EXISTING);
|
||||
// 文件的绝对路径
|
||||
String storedFilePath = filePath.toAbsolutePath().toString();
|
||||
files.setFileId(storedFilePath);
|
||||
files.setFileName(fileName);
|
||||
return Result.ok(files);
|
||||
} catch (Exception e) {
|
||||
log.error("base64上传",e);
|
||||
return Result.fail();
|
||||
|
|
|
|||
|
|
@ -1,57 +1,57 @@
|
|||
package com.securitycontrol.files.mongodb.config;
|
||||
|
||||
import com.mongodb.client.MongoClient;
|
||||
import com.mongodb.client.MongoClients;
|
||||
import com.mongodb.client.MongoDatabase;
|
||||
import com.mongodb.client.gridfs.GridFSBucket;
|
||||
import com.mongodb.client.gridfs.GridFSBuckets;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
|
||||
/**
|
||||
* @author coisini
|
||||
* @version 1.0
|
||||
* @Description MongoDB配置类
|
||||
* @date Apr 17, 2022
|
||||
*/
|
||||
@Configuration
|
||||
public class MongoConfig {
|
||||
/**
|
||||
* 数据库配置信息
|
||||
*/
|
||||
@Value("${spring.data.mongodb.database}")
|
||||
private String db;
|
||||
|
||||
@Value("${spring.data.mongodb.host}")
|
||||
private String host;
|
||||
|
||||
@Value("${spring.data.mongodb.port}")
|
||||
private Integer port;
|
||||
|
||||
private static final String UN = "admin";
|
||||
|
||||
private static final String PD = "123456";
|
||||
|
||||
private MongoDatabase mongoDatabase;
|
||||
|
||||
public MongoClient getMongoClient() {
|
||||
String addr = "mongodb://" + UN + ":" + PD + "@" + host + ":" + port + "/" + db;
|
||||
MongoClient mongoClient = MongoClients.create(addr);
|
||||
return mongoClient;
|
||||
}
|
||||
|
||||
public MongoDatabase getMongoConn() {
|
||||
MongoClient mongoClient = getMongoClient();
|
||||
mongoDatabase = mongoClient.getDatabase(db);
|
||||
System.out.println("mongodb数据库连接成功!");
|
||||
return mongoDatabase;
|
||||
}
|
||||
|
||||
@Bean
|
||||
public GridFSBucket getGridFsBucket() {
|
||||
MongoDatabase mongoDatabase = getMongoConn();
|
||||
return GridFSBuckets.create(mongoDatabase);
|
||||
}
|
||||
}
|
||||
//package com.securitycontrol.files.mongodb.config;
|
||||
//
|
||||
//import com.mongodb.client.MongoClient;
|
||||
//import com.mongodb.client.MongoClients;
|
||||
//import com.mongodb.client.MongoDatabase;
|
||||
//import com.mongodb.client.gridfs.GridFSBucket;
|
||||
//import com.mongodb.client.gridfs.GridFSBuckets;
|
||||
//import org.springframework.beans.factory.annotation.Value;
|
||||
//import org.springframework.context.annotation.Bean;
|
||||
//import org.springframework.context.annotation.Configuration;
|
||||
//
|
||||
//
|
||||
///**
|
||||
// * @author coisini
|
||||
// * @version 1.0
|
||||
// * @Description MongoDB配置类
|
||||
// * @date Apr 17, 2022
|
||||
// */
|
||||
////@Configuration
|
||||
//public class MongoConfig {
|
||||
// /**
|
||||
// * 数据库配置信息
|
||||
// */
|
||||
// @Value("${spring.data.mongodb.database}")
|
||||
// private String db;
|
||||
//
|
||||
// @Value("${spring.data.mongodb.host}")
|
||||
// private String host;
|
||||
//
|
||||
// @Value("${spring.data.mongodb.port}")
|
||||
// private Integer port;
|
||||
//
|
||||
// private static final String UN = "admin";
|
||||
//
|
||||
// private static final String PD = "123456";
|
||||
//
|
||||
// private MongoDatabase mongoDatabase;
|
||||
//
|
||||
// public MongoClient getMongoClient() {
|
||||
// String addr = "mongodb://" + UN + ":" + PD + "@" + host + ":" + port + "/" + db;
|
||||
// MongoClient mongoClient = MongoClients.create(addr);
|
||||
// return mongoClient;
|
||||
// }
|
||||
//
|
||||
// public MongoDatabase getMongoConn() {
|
||||
// MongoClient mongoClient = getMongoClient();
|
||||
// mongoDatabase = mongoClient.getDatabase(db);
|
||||
// System.out.println("mongodb数据库连接成功!");
|
||||
// return mongoDatabase;
|
||||
// }
|
||||
//
|
||||
// @Bean
|
||||
// public GridFSBucket getGridFsBucket() {
|
||||
// MongoDatabase mongoDatabase = getMongoConn();
|
||||
// return GridFSBuckets.create(mongoDatabase);
|
||||
// }
|
||||
//}
|
||||
|
|
|
|||
|
|
@ -1,15 +1,15 @@
|
|||
package com.securitycontrol.files.mongodb.repository;
|
||||
|
||||
|
||||
import com.securitycontrol.entity.file.model.MongoFile;
|
||||
import org.springframework.data.mongodb.repository.MongoRepository;
|
||||
|
||||
/**
|
||||
* @author coisini
|
||||
* @version 1.0
|
||||
* @Description MongoDB文件仓储
|
||||
* @date Apr 17, 2022
|
||||
*/
|
||||
public interface MongoFileRepository extends MongoRepository<MongoFile, String> {
|
||||
|
||||
}
|
||||
//package com.securitycontrol.files.mongodb.repository;
|
||||
//
|
||||
//
|
||||
//import com.securitycontrol.entity.file.model.MongoFile;
|
||||
//import org.springframework.data.mongodb.repository.MongoRepository;
|
||||
//
|
||||
///**
|
||||
// * @author coisini
|
||||
// * @version 1.0
|
||||
// * @Description MongoDB文件仓储
|
||||
// * @date Apr 17, 2022
|
||||
// */
|
||||
//public interface MongoFileRepository extends MongoRepository<MongoFile, String> {
|
||||
//
|
||||
//}
|
||||
|
|
|
|||
|
|
@ -1,274 +1,274 @@
|
|||
package com.securitycontrol.files.mongodb.service.impl;
|
||||
|
||||
import cn.hutool.core.io.IoUtil;
|
||||
import cn.hutool.core.util.IdUtil;
|
||||
import com.mongodb.client.gridfs.GridFSBucket;
|
||||
import com.mongodb.client.gridfs.GridFSDownloadStream;
|
||||
import com.mongodb.client.gridfs.model.GridFSFile;
|
||||
import com.securitycontrol.common.core.utils.aes.DateTimeHelper;
|
||||
import com.securitycontrol.entity.file.FileExportVo;
|
||||
import com.securitycontrol.entity.file.model.MongoFile;
|
||||
import com.securitycontrol.files.mongodb.repository.MongoFileRepository;
|
||||
import com.securitycontrol.files.mongodb.service.FileUploadService;
|
||||
import com.securitycontrol.files.mongodb.util.Md5Util;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.bson.types.Binary;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.data.mongodb.core.MongoTemplate;
|
||||
import org.springframework.data.mongodb.core.query.Criteria;
|
||||
import org.springframework.data.mongodb.core.query.Query;
|
||||
import org.springframework.data.mongodb.gridfs.GridFsResource;
|
||||
import org.springframework.data.mongodb.gridfs.GridFsTemplate;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
import java.util.Optional;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
/**
|
||||
* @author coisini
|
||||
* @version 1.0
|
||||
* @Description MongoDB文件上传实现类
|
||||
* @date Apr 17, 2022
|
||||
*/
|
||||
@Slf4j
|
||||
@Service("fileMongoServiceImpl")
|
||||
@RequiredArgsConstructor(onConstructor = @__(@Autowired))
|
||||
public class FileMongoServiceImpl implements FileUploadService {
|
||||
|
||||
private final MongoFileRepository mongoFileRepository;
|
||||
private final MongoTemplate mongoTemplate;
|
||||
private final GridFsTemplate gridFsTemplate;
|
||||
private final GridFSBucket gridFSBucket;
|
||||
|
||||
private static final int MAX_SIZE = 16777216;
|
||||
private static final String SUFFIX = ".";
|
||||
|
||||
/**
|
||||
* 多文件上传
|
||||
*
|
||||
* @param files
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public List<FileExportVo> uploadFiles(List<MultipartFile> files) {
|
||||
|
||||
return files.stream().map(file -> {
|
||||
try {
|
||||
return this.uploadFile(file);
|
||||
} catch (Exception e) {
|
||||
log.error("文件上传失败", e);
|
||||
return null;
|
||||
}
|
||||
}).filter(Objects::nonNull).collect(Collectors.toList());
|
||||
}
|
||||
|
||||
/**
|
||||
* 文件上传
|
||||
*
|
||||
* @param file
|
||||
* @return
|
||||
* @throws Exception
|
||||
*/
|
||||
@Override
|
||||
public FileExportVo uploadFile(MultipartFile file) throws Exception {
|
||||
if (file.getSize() > MAX_SIZE) {
|
||||
return this.saveGridFsFile(file);
|
||||
} else {
|
||||
return this.saveBinaryFile(file);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 文件下载
|
||||
*
|
||||
* @param fileId
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public FileExportVo downloadFile(String fileId) {
|
||||
Optional<MongoFile> option = this.getBinaryFileById(fileId);
|
||||
|
||||
if (option.isPresent()) {
|
||||
MongoFile mongoFile = option.get();
|
||||
if (Objects.isNull(mongoFile.getContent())) {
|
||||
option = this.getGridFsFileById(fileId);
|
||||
}
|
||||
}
|
||||
|
||||
return option.map(FileExportVo::new).orElse(null);
|
||||
}
|
||||
|
||||
/**
|
||||
* 文件删除
|
||||
*
|
||||
* @param fileId
|
||||
*/
|
||||
@Override
|
||||
public void removeFile(String fileId) {
|
||||
Optional<MongoFile> option = this.getBinaryFileById(fileId);
|
||||
|
||||
if (option.isPresent()) {
|
||||
if (Objects.nonNull(option.get().getGridFsId())) {
|
||||
this.removeGridFsFile(fileId);
|
||||
} else {
|
||||
this.removeBinaryFile(fileId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除Binary文件
|
||||
*
|
||||
* @param fileId
|
||||
*/
|
||||
public void removeBinaryFile(String fileId) {
|
||||
mongoFileRepository.deleteById(fileId);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除GridFs文件
|
||||
*
|
||||
* @param fileId
|
||||
*/
|
||||
public void removeGridFsFile(String fileId) {
|
||||
// TODO 根据id查询文件
|
||||
MongoFile mongoFile = mongoTemplate.findById(fileId, MongoFile.class);
|
||||
if (Objects.nonNull(mongoFile)) {
|
||||
// TODO 根据文件ID删除fs.files和fs.chunks中的记录
|
||||
Query deleteFileQuery = new Query().addCriteria(Criteria.where("filename").is(mongoFile.getGridFsId()));
|
||||
gridFsTemplate.delete(deleteFileQuery);
|
||||
// TODO 删除集合mongoFile中的数据
|
||||
Query deleteQuery = new Query(Criteria.where("id").is(fileId));
|
||||
mongoTemplate.remove(deleteQuery, MongoFile.class);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 保存Binary文件(小文件)
|
||||
*
|
||||
* @param file
|
||||
* @return
|
||||
* @throws Exception
|
||||
*/
|
||||
public FileExportVo saveBinaryFile(MultipartFile file) throws Exception {
|
||||
|
||||
String suffix = getFileSuffix(file);
|
||||
MongoFile mongoFile = mongoFileRepository.save(
|
||||
MongoFile.builder()
|
||||
.fileName(file.getOriginalFilename())
|
||||
.fileSize(file.getSize())
|
||||
.content(new Binary(file.getBytes()))
|
||||
.contentType(file.getContentType())
|
||||
.uploadDate(DateTimeHelper.getNowTime())
|
||||
.suffix(suffix)
|
||||
.md5(Md5Util.getMd5(file.getInputStream()))
|
||||
.build()
|
||||
);
|
||||
|
||||
return new FileExportVo(mongoFile);
|
||||
}
|
||||
|
||||
/**
|
||||
* 保存GridFs文件(大文件)
|
||||
*
|
||||
* @param file
|
||||
* @return
|
||||
* @throws Exception
|
||||
*/
|
||||
public FileExportVo saveGridFsFile(MultipartFile file) throws Exception {
|
||||
String suffix = getFileSuffix(file);
|
||||
|
||||
String gridFsId = this.storeFileToGridFs(file.getInputStream(), file.getContentType());
|
||||
|
||||
MongoFile mongoFile = mongoTemplate.save(
|
||||
MongoFile.builder()
|
||||
.fileName(file.getOriginalFilename())
|
||||
.fileSize(file.getSize())
|
||||
.contentType(file.getContentType())
|
||||
.uploadDate(DateTimeHelper.getNowTime())
|
||||
.suffix(suffix)
|
||||
.md5(Md5Util.getMd5(file.getInputStream()))
|
||||
.gridFsId(gridFsId)
|
||||
.build()
|
||||
);
|
||||
|
||||
return new FileExportVo(mongoFile);
|
||||
}
|
||||
|
||||
/**
|
||||
* 上传文件到Mongodb的GridFs中
|
||||
*
|
||||
* @param in
|
||||
* @param contentType
|
||||
* @return
|
||||
*/
|
||||
public String storeFileToGridFs(InputStream in, String contentType) {
|
||||
String gridFsId = IdUtil.simpleUUID();
|
||||
// TODO 将文件存储进GridFS中
|
||||
gridFsTemplate.store(in, gridFsId, contentType);
|
||||
return gridFsId;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取Binary文件
|
||||
*
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
public Optional<MongoFile> getBinaryFileById(String id) {
|
||||
return mongoFileRepository.findById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取Grid文件
|
||||
*
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
public Optional<MongoFile> getGridFsFileById(String id) {
|
||||
MongoFile mongoFile = mongoTemplate.findById(id, MongoFile.class);
|
||||
if (Objects.nonNull(mongoFile)) {
|
||||
Query gridQuery = new Query().addCriteria(Criteria.where("filename").is(mongoFile.getGridFsId()));
|
||||
try {
|
||||
// TODO 根据id查询文件
|
||||
GridFSFile fsFile = gridFsTemplate.findOne(gridQuery);
|
||||
// TODO 打开流下载对象
|
||||
GridFSDownloadStream in = gridFSBucket.openDownloadStream(fsFile.getObjectId());
|
||||
if (in.getGridFSFile().getLength() > 0) {
|
||||
// TODO 获取流对象
|
||||
GridFsResource resource = new GridFsResource(fsFile, in);
|
||||
// TODO 获取数据
|
||||
mongoFile.setContent(new Binary(IoUtil.readBytes(resource.getInputStream())));
|
||||
return Optional.of(mongoFile);
|
||||
} else {
|
||||
return Optional.empty();
|
||||
}
|
||||
} catch (IOException e) {
|
||||
log.error("获取MongoDB大文件失败", e);
|
||||
}
|
||||
}
|
||||
|
||||
return Optional.empty();
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取文件后缀
|
||||
*
|
||||
* @param file
|
||||
* @return
|
||||
*/
|
||||
private String getFileSuffix(MultipartFile file) {
|
||||
String suffix = "";
|
||||
if (Objects.requireNonNull(file.getOriginalFilename()).contains(SUFFIX)) {
|
||||
suffix = file.getOriginalFilename().substring(file.getOriginalFilename().lastIndexOf("."));
|
||||
}
|
||||
return suffix;
|
||||
}
|
||||
|
||||
}
|
||||
//package com.securitycontrol.files.mongodb.service.impl;
|
||||
//
|
||||
//import cn.hutool.core.io.IoUtil;
|
||||
//import cn.hutool.core.util.IdUtil;
|
||||
//import com.mongodb.client.gridfs.GridFSBucket;
|
||||
//import com.mongodb.client.gridfs.GridFSDownloadStream;
|
||||
//import com.mongodb.client.gridfs.model.GridFSFile;
|
||||
//import com.securitycontrol.common.core.utils.aes.DateTimeHelper;
|
||||
//import com.securitycontrol.entity.file.FileExportVo;
|
||||
//import com.securitycontrol.entity.file.model.MongoFile;
|
||||
//import com.securitycontrol.files.mongodb.repository.MongoFileRepository;
|
||||
//import com.securitycontrol.files.mongodb.service.FileUploadService;
|
||||
//import com.securitycontrol.files.mongodb.util.Md5Util;
|
||||
//import lombok.RequiredArgsConstructor;
|
||||
//import lombok.extern.slf4j.Slf4j;
|
||||
//import org.bson.types.Binary;
|
||||
//import org.springframework.beans.factory.annotation.Autowired;
|
||||
//import org.springframework.data.mongodb.core.MongoTemplate;
|
||||
//import org.springframework.data.mongodb.core.query.Criteria;
|
||||
//import org.springframework.data.mongodb.core.query.Query;
|
||||
//import org.springframework.data.mongodb.gridfs.GridFsResource;
|
||||
//import org.springframework.data.mongodb.gridfs.GridFsTemplate;
|
||||
//import org.springframework.stereotype.Service;
|
||||
//import org.springframework.web.multipart.MultipartFile;
|
||||
//
|
||||
//import java.io.IOException;
|
||||
//import java.io.InputStream;
|
||||
//import java.util.List;
|
||||
//import java.util.Objects;
|
||||
//import java.util.Optional;
|
||||
//import java.util.stream.Collectors;
|
||||
//
|
||||
///**
|
||||
// * @author coisini
|
||||
// * @version 1.0
|
||||
// * @Description MongoDB文件上传实现类
|
||||
// * @date Apr 17, 2022
|
||||
// */
|
||||
//@Slf4j
|
||||
////@Service("fileMongoServiceImpl")
|
||||
//@RequiredArgsConstructor(onConstructor = @__(@Autowired))
|
||||
//public class FileMongoServiceImpl implements FileUploadService {
|
||||
//
|
||||
// private final MongoFileRepository mongoFileRepository;
|
||||
// private final MongoTemplate mongoTemplate;
|
||||
// private final GridFsTemplate gridFsTemplate;
|
||||
// private final GridFSBucket gridFSBucket;
|
||||
//
|
||||
// private static final int MAX_SIZE = 16777216;
|
||||
// private static final String SUFFIX = ".";
|
||||
//
|
||||
// /**
|
||||
// * 多文件上传
|
||||
// *
|
||||
// * @param files
|
||||
// * @return
|
||||
// */
|
||||
// @Override
|
||||
// public List<FileExportVo> uploadFiles(List<MultipartFile> files) {
|
||||
//
|
||||
// return files.stream().map(file -> {
|
||||
// try {
|
||||
// return this.uploadFile(file);
|
||||
// } catch (Exception e) {
|
||||
// log.error("文件上传失败", e);
|
||||
// return null;
|
||||
// }
|
||||
// }).filter(Objects::nonNull).collect(Collectors.toList());
|
||||
// }
|
||||
//
|
||||
// /**
|
||||
// * 文件上传
|
||||
// *
|
||||
// * @param file
|
||||
// * @return
|
||||
// * @throws Exception
|
||||
// */
|
||||
// @Override
|
||||
// public FileExportVo uploadFile(MultipartFile file) throws Exception {
|
||||
// if (file.getSize() > MAX_SIZE) {
|
||||
// return this.saveGridFsFile(file);
|
||||
// } else {
|
||||
// return this.saveBinaryFile(file);
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// /**
|
||||
// * 文件下载
|
||||
// *
|
||||
// * @param fileId
|
||||
// * @return
|
||||
// */
|
||||
// @Override
|
||||
// public FileExportVo downloadFile(String fileId) {
|
||||
// Optional<MongoFile> option = this.getBinaryFileById(fileId);
|
||||
//
|
||||
// if (option.isPresent()) {
|
||||
// MongoFile mongoFile = option.get();
|
||||
// if (Objects.isNull(mongoFile.getContent())) {
|
||||
// option = this.getGridFsFileById(fileId);
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// return option.map(FileExportVo::new).orElse(null);
|
||||
// }
|
||||
//
|
||||
// /**
|
||||
// * 文件删除
|
||||
// *
|
||||
// * @param fileId
|
||||
// */
|
||||
// @Override
|
||||
// public void removeFile(String fileId) {
|
||||
// Optional<MongoFile> option = this.getBinaryFileById(fileId);
|
||||
//
|
||||
// if (option.isPresent()) {
|
||||
// if (Objects.nonNull(option.get().getGridFsId())) {
|
||||
// this.removeGridFsFile(fileId);
|
||||
// } else {
|
||||
// this.removeBinaryFile(fileId);
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// /**
|
||||
// * 删除Binary文件
|
||||
// *
|
||||
// * @param fileId
|
||||
// */
|
||||
// public void removeBinaryFile(String fileId) {
|
||||
// mongoFileRepository.deleteById(fileId);
|
||||
// }
|
||||
//
|
||||
// /**
|
||||
// * 删除GridFs文件
|
||||
// *
|
||||
// * @param fileId
|
||||
// */
|
||||
// public void removeGridFsFile(String fileId) {
|
||||
// // TODO 根据id查询文件
|
||||
// MongoFile mongoFile = mongoTemplate.findById(fileId, MongoFile.class);
|
||||
// if (Objects.nonNull(mongoFile)) {
|
||||
// // TODO 根据文件ID删除fs.files和fs.chunks中的记录
|
||||
// Query deleteFileQuery = new Query().addCriteria(Criteria.where("filename").is(mongoFile.getGridFsId()));
|
||||
// gridFsTemplate.delete(deleteFileQuery);
|
||||
// // TODO 删除集合mongoFile中的数据
|
||||
// Query deleteQuery = new Query(Criteria.where("id").is(fileId));
|
||||
// mongoTemplate.remove(deleteQuery, MongoFile.class);
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// /**
|
||||
// * 保存Binary文件(小文件)
|
||||
// *
|
||||
// * @param file
|
||||
// * @return
|
||||
// * @throws Exception
|
||||
// */
|
||||
// public FileExportVo saveBinaryFile(MultipartFile file) throws Exception {
|
||||
//
|
||||
// String suffix = getFileSuffix(file);
|
||||
// MongoFile mongoFile = mongoFileRepository.save(
|
||||
// MongoFile.builder()
|
||||
// .fileName(file.getOriginalFilename())
|
||||
// .fileSize(file.getSize())
|
||||
// .content(new Binary(file.getBytes()))
|
||||
// .contentType(file.getContentType())
|
||||
// .uploadDate(DateTimeHelper.getNowTime())
|
||||
// .suffix(suffix)
|
||||
// .md5(Md5Util.getMd5(file.getInputStream()))
|
||||
// .build()
|
||||
// );
|
||||
//
|
||||
// return new FileExportVo(mongoFile);
|
||||
// }
|
||||
//
|
||||
// /**
|
||||
// * 保存GridFs文件(大文件)
|
||||
// *
|
||||
// * @param file
|
||||
// * @return
|
||||
// * @throws Exception
|
||||
// */
|
||||
// public FileExportVo saveGridFsFile(MultipartFile file) throws Exception {
|
||||
// String suffix = getFileSuffix(file);
|
||||
//
|
||||
// String gridFsId = this.storeFileToGridFs(file.getInputStream(), file.getContentType());
|
||||
//
|
||||
// MongoFile mongoFile = mongoTemplate.save(
|
||||
// MongoFile.builder()
|
||||
// .fileName(file.getOriginalFilename())
|
||||
// .fileSize(file.getSize())
|
||||
// .contentType(file.getContentType())
|
||||
// .uploadDate(DateTimeHelper.getNowTime())
|
||||
// .suffix(suffix)
|
||||
// .md5(Md5Util.getMd5(file.getInputStream()))
|
||||
// .gridFsId(gridFsId)
|
||||
// .build()
|
||||
// );
|
||||
//
|
||||
// return new FileExportVo(mongoFile);
|
||||
// }
|
||||
//
|
||||
// /**
|
||||
// * 上传文件到Mongodb的GridFs中
|
||||
// *
|
||||
// * @param in
|
||||
// * @param contentType
|
||||
// * @return
|
||||
// */
|
||||
// public String storeFileToGridFs(InputStream in, String contentType) {
|
||||
// String gridFsId = IdUtil.simpleUUID();
|
||||
// // TODO 将文件存储进GridFS中
|
||||
// gridFsTemplate.store(in, gridFsId, contentType);
|
||||
// return gridFsId;
|
||||
// }
|
||||
//
|
||||
// /**
|
||||
// * 获取Binary文件
|
||||
// *
|
||||
// * @param id
|
||||
// * @return
|
||||
// */
|
||||
// public Optional<MongoFile> getBinaryFileById(String id) {
|
||||
// return mongoFileRepository.findById(id);
|
||||
// }
|
||||
//
|
||||
// /**
|
||||
// * 获取Grid文件
|
||||
// *
|
||||
// * @param id
|
||||
// * @return
|
||||
// */
|
||||
// public Optional<MongoFile> getGridFsFileById(String id) {
|
||||
// MongoFile mongoFile = mongoTemplate.findById(id, MongoFile.class);
|
||||
// if (Objects.nonNull(mongoFile)) {
|
||||
// Query gridQuery = new Query().addCriteria(Criteria.where("filename").is(mongoFile.getGridFsId()));
|
||||
// try {
|
||||
// // TODO 根据id查询文件
|
||||
// GridFSFile fsFile = gridFsTemplate.findOne(gridQuery);
|
||||
// // TODO 打开流下载对象
|
||||
// GridFSDownloadStream in = gridFSBucket.openDownloadStream(fsFile.getObjectId());
|
||||
// if (in.getGridFSFile().getLength() > 0) {
|
||||
// // TODO 获取流对象
|
||||
// GridFsResource resource = new GridFsResource(fsFile, in);
|
||||
// // TODO 获取数据
|
||||
// mongoFile.setContent(new Binary(IoUtil.readBytes(resource.getInputStream())));
|
||||
// return Optional.of(mongoFile);
|
||||
// } else {
|
||||
// return Optional.empty();
|
||||
// }
|
||||
// } catch (IOException e) {
|
||||
// log.error("获取MongoDB大文件失败", e);
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// return Optional.empty();
|
||||
// }
|
||||
//
|
||||
// /**
|
||||
// * 获取文件后缀
|
||||
// *
|
||||
// * @param file
|
||||
// * @return
|
||||
// */
|
||||
// private String getFileSuffix(MultipartFile file) {
|
||||
// String suffix = "";
|
||||
// if (Objects.requireNonNull(file.getOriginalFilename()).contains(SUFFIX)) {
|
||||
// suffix = file.getOriginalFilename().substring(file.getOriginalFilename().lastIndexOf("."));
|
||||
// }
|
||||
// return suffix;
|
||||
// }
|
||||
//
|
||||
//}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# Tomcat
|
||||
server:
|
||||
port: 18083
|
||||
port: 13035
|
||||
|
||||
# Spring
|
||||
spring:
|
||||
|
|
@ -17,27 +17,31 @@ spring:
|
|||
cloud:
|
||||
nacos:
|
||||
username: nacos
|
||||
password: Jjsp@nacos2023
|
||||
password: nacos
|
||||
discovery:
|
||||
server-addr: 127.0.0.1:18848
|
||||
namespace: jjzhgd
|
||||
server-addr: 192.168.0.14:8848
|
||||
namespace: jj_zhgd_test
|
||||
# server-addr: 27.50.49.56:21625
|
||||
config:
|
||||
server-addr: 127.0.0.1:18848
|
||||
namespace: jjzhgd
|
||||
server-addr: 192.168.0.14:8848
|
||||
namespace: jj_zhgd_test
|
||||
# server-addr: 27.50.49.56:21625
|
||||
# 配置文件格式
|
||||
file-extension: yml
|
||||
# 共享配置
|
||||
shared-configs:
|
||||
- vsc-dev.yml
|
||||
data:
|
||||
mongodb:
|
||||
host: 127.0.0.1
|
||||
port: 27017
|
||||
database: admin
|
||||
username: admin
|
||||
password: Bonus@admin123!
|
||||
# data:
|
||||
# mongodb:
|
||||
# host: 127.0.0.1
|
||||
# port: 27017
|
||||
# database: admin
|
||||
# username: admin
|
||||
# password: Bonus@admin123!
|
||||
file:
|
||||
upload:
|
||||
# path: /home/zhgd/file/
|
||||
path: F:/File/
|
||||
# data:
|
||||
# mongodb:
|
||||
# host: 47.115.207.135
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>securitycontrol-screen</artifactId>
|
||||
<artifactId>zhgd-screen</artifactId>
|
||||
<dependencies>
|
||||
<!-- SpringCloud Alibaba Nacos -->
|
||||
<dependency>
|
||||
|
|
@ -103,7 +103,7 @@
|
|||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.securitycontrol</groupId>
|
||||
<artifactId>securitycontrol-system</artifactId>
|
||||
<artifactId>zhgd-system</artifactId>
|
||||
<version>3.6.1</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
|
|
|
|||
|
|
@ -128,10 +128,21 @@ public class ConstructionQualityImpl implements ConstructionQualityService {
|
|||
*/
|
||||
|
||||
public final static int NUM_MONTHS_IN_YEAR = 12;
|
||||
|
||||
public static void main(String[] args) {
|
||||
YearMonth currentYearMonth = YearMonth.of(2024,9);
|
||||
YearMonth[] lastTwelveMonths = new YearMonth[12];
|
||||
for (int i = 0; i < NUM_MONTHS_IN_YEAR; i++) {
|
||||
lastTwelveMonths[i] = currentYearMonth.minusMonths(11 - i);
|
||||
System.err.println( lastTwelveMonths[i]);
|
||||
}
|
||||
System.err.println(currentYearMonth);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ConstructionQualityVo> getDetectionRecord(ConstructionQualityDto dto) {
|
||||
|
||||
YearMonth currentYearMonth = YearMonth.now();
|
||||
YearMonth currentYearMonth = YearMonth.of(2024,12);
|
||||
YearMonth[] lastTwelveMonths = new YearMonth[12];
|
||||
for (int i = 0; i < NUM_MONTHS_IN_YEAR; i++) {
|
||||
lastTwelveMonths[i] = currentYearMonth.minusMonths(11 - i);
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# Tomcat
|
||||
server:
|
||||
port: 18086
|
||||
port: 13034
|
||||
management:
|
||||
server:
|
||||
port: -1
|
||||
|
|
@ -18,13 +18,13 @@ spring:
|
|||
cloud:
|
||||
nacos:
|
||||
username: nacos
|
||||
password: Jjsp@nacos2023
|
||||
password: nacos
|
||||
discovery:
|
||||
server-addr: 127.0.0.1:18848
|
||||
namespace: jjzhgd
|
||||
server-addr: 192.168.0.14:8848
|
||||
namespace: jj_zhgd_test
|
||||
config:
|
||||
server-addr: 127.0.0.1:18848
|
||||
namespace: jjzhgd
|
||||
server-addr: 192.168.0.14:8848
|
||||
namespace: jj_zhgd_test
|
||||
# 配置文件格式
|
||||
file-extension: yml
|
||||
# 共享配置
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
<version>3.6.1</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>securitycontrol-system</artifactId>
|
||||
<artifactId>zhgd-system</artifactId>
|
||||
|
||||
<dependencies>
|
||||
<!-- SpringCloud Alibaba Nacos -->
|
||||
|
|
@ -137,10 +137,10 @@
|
|||
<artifactId>commons-collections4</artifactId>
|
||||
<version>4.4</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-data-mongodb</artifactId>
|
||||
</dependency>
|
||||
<!-- <dependency>-->
|
||||
<!-- <groupId>org.springframework.boot</groupId>-->
|
||||
<!-- <artifactId>spring-boot-starter-data-mongodb</artifactId>-->
|
||||
<!-- </dependency>-->
|
||||
|
||||
|
||||
<dependency>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# Tomcat
|
||||
server:
|
||||
port: 18084
|
||||
port: 13032
|
||||
management:
|
||||
server:
|
||||
port: -1
|
||||
|
|
@ -18,15 +18,17 @@ spring:
|
|||
cloud:
|
||||
nacos:
|
||||
username: nacos
|
||||
password: Jjsp@nacos2023
|
||||
password: nacos
|
||||
# password: Jjsp@nacos2023
|
||||
discovery:
|
||||
server-addr: 127.0.0.1:18848
|
||||
# server-addr: 127.0.0.1:8848
|
||||
namespace: jjzhgd
|
||||
# server-addr: 127.0.0.1:18848
|
||||
server-addr: 192.168.0.14:8848
|
||||
namespace: jj_zhgd_test
|
||||
config:
|
||||
server-addr: 127.0.0.1:18848
|
||||
# server-addr: 127.0.0.1:18848
|
||||
server-addr: 192.168.0.14:8848
|
||||
# server-addr: 127.0.0.1:8848
|
||||
namespace: jjzhgd
|
||||
namespace: jj_zhgd_test
|
||||
# 配置文件格式
|
||||
file-extension: yml
|
||||
# 共享配置
|
||||
|
|
|
|||
Loading…
Reference in New Issue