This commit is contained in:
Wowieee4 2026-05-02 02:43:47 +07:00
parent f8ca77eeb9
commit c8d9eefa74
14 changed files with 1207 additions and 209 deletions

View File

@ -1,4 +1,10 @@
HELP.md
CURRENT_CODEBASE.txt
FULL_FLOW_ARCHITECTURE.md
FINAL_EXAM_GUIDE.md
NEXT_PROMPT.txt
walkguide.zip
target/
.mvn/wrapper/maven-wrapper.jar
!**/src/main/**/target/

View File

@ -0,0 +1,819 @@
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 1048576 bytes. Error detail: AllocateHeap
# Possible reasons:
# The system is out of physical RAM or swap space
# This 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 Unscaled Compressed Oops mode in which the Java heap is
# placed in the first 4GB 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 4GB virtual address.
# This output file may be truncated or incomplete.
#
# Out of Memory Error (allocation.cpp:44), pid=29532, tid=23756
#
# JRE version: OpenJDK Runtime Environment Temurin-21.0.10+7 (21.0.10+7) (build 21.0.10+7-LTS)
# Java VM: OpenJDK 64-Bit Server VM Temurin-21.0.10+7 (21.0.10+7-LTS, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, parallel gc, windows-amd64)
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#
--------------- S U M M A R Y ------------
Command Line: --add-modules=ALL-SYSTEM --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/sun.nio.fs=ALL-UNNAMED -Declipse.application=org.eclipse.jdt.ls.core.id1 -Dosgi.bundles.defaultStartLevel=4 -Declipse.product=org.eclipse.jdt.ls.core.product -Djava.import.generatesMetadataFilesAtProjectRoot=false -DDetectVMInstallationsJob.disabled=true -Dfile.encoding=utf8 -XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx2G -Xms100m -Xlog:disable -javaagent:c:\Users\Evan\.vscode\extensions\redhat.java-1.54.0-win32-x64\lombok\lombok-1.18.39-4050.jar -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=c:\Users\Evan\AppData\Roaming\Code\User\workspaceStorage\609d357b4a62589867dde8a22b91e9ee\redhat.java -Daether.dependencyCollector.impl=bf c:\Users\Evan\.vscode\extensions\redhat.java-1.54.0-win32-x64\server\plugins\org.eclipse.equinox.launcher_1.7.100.v20251111-0406.jar -configuration c:\Users\Evan\AppData\Roaming\Code\User\globalStorage\redhat.java\1.54.0\config_win -data c:\Users\Evan\AppData\Roaming\Code\User\workspaceStorage\609d357b4a62589867dde8a22b91e9ee\redhat.java\jdt_ws --pipe=\\.\pipe\lsp-c3923ce2cfc611e32e6dd1d393bf40eb-sock
Host: 13th Gen Intel(R) Core(TM) i7-13620H, 16 cores, 15G, Windows 11 , 64 bit Build 26100 (10.0.26100.7623)
Time: Thu Apr 23 12:01:36 2026 SE Asia Standard Time elapsed time: 2053.483618 seconds (0d 0h 34m 13s)
--------------- T H R E A D ---------------
Current thread (0x000001ee45f5cd50): JavaThread "Attach Listener" daemon [_thread_in_vm, id=23756, stack(0x0000006b5d600000,0x0000006b5d700000) (1024K)]
Stack: [0x0000006b5d600000,0x0000006b5d700000]
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [jvm.dll+0x6d7a39]
V [jvm.dll+0x8b4b26]
V [jvm.dll+0x8b70de]
V [jvm.dll+0x8b77c3]
V [jvm.dll+0x284346]
V [jvm.dll+0xc1277]
V [jvm.dll+0x6d82e9]
V [jvm.dll+0x1334a6]
V [jvm.dll+0x3f857e]
V [jvm.dll+0x85f59d]
V [jvm.dll+0x6d626d]
C [ucrtbase.dll+0x37b0]
C [KERNEL32.DLL+0x2e8d7]
C [ntdll.dll+0x8c53c]
--------------- P R O C E S S ---------------
Threads class SMR info:
_java_thread_list=0x000001ee5133cff0, length=48, elements={
0x000001ee6cf9d7b0, 0x000001ee45f583b0, 0x000001ee6cf4b440, 0x000001ee45f5bd60,
0x000001ee45f5cd50, 0x000001ee45f633d0, 0x000001ee45f619f0, 0x000001ee45f70cc0,
0x000001ee45f72a70, 0x000001ee461d7390, 0x000001ee47646aa0, 0x000001ee4c4c7880,
0x000001ee4c4c7f10, 0x000001ee4c4c57b0, 0x000001ee4c4c71f0, 0x000001ee4c4c5120,
0x000001ee4c4c4a90, 0x000001ee4c4c6b60, 0x000001ee4c4c64d0, 0x000001ee4c7b5cf0,
0x000001ee4c7b3c20, 0x000001ee4c7b4940, 0x000001ee4c7b42b0, 0x000001ee4c7b6a10,
0x000001ee4c7b3590, 0x000001ee4c7b9800, 0x000001ee4c7b70a0, 0x000001ee4c7b7dc0,
0x000001ee4c7b9e90, 0x000001ee4c7b7730, 0x000001ee4c7b9170, 0x000001ee4c7b8450,
0x000001ee4c7b8ae0, 0x000001ee4c7ba520, 0x000001ee5014c380, 0x000001ee5014bcf0,
0x000001ee5014ca10, 0x000001ee5014d730, 0x000001ee5014d0a0, 0x000001ee5014a2b0,
0x000001ee5014e450, 0x000001ee5014afd0, 0x000001ee50133120, 0x000001ee501337b0,
0x000001ee50134b60, 0x000001ee501351f0, 0x000001ee50135880, 0x000001ee509a2fa0
}
Java Threads: ( => current thread )
0x000001ee6cf9d7b0 JavaThread "main" [_thread_blocked, id=10460, stack(0x0000006b5cf00000,0x0000006b5d000000) (1024K)]
0x000001ee45f583b0 JavaThread "Reference Handler" daemon [_thread_blocked, id=19328, stack(0x0000006b5d300000,0x0000006b5d400000) (1024K)]
0x000001ee6cf4b440 JavaThread "Finalizer" daemon [_thread_blocked, id=3632, stack(0x0000006b5d400000,0x0000006b5d500000) (1024K)]
0x000001ee45f5bd60 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=20860, stack(0x0000006b5d500000,0x0000006b5d600000) (1024K)]
=>0x000001ee45f5cd50 JavaThread "Attach Listener" daemon [_thread_in_vm, id=23756, stack(0x0000006b5d600000,0x0000006b5d700000) (1024K)]
0x000001ee45f633d0 JavaThread "Service Thread" daemon [_thread_blocked, id=13388, stack(0x0000006b5d700000,0x0000006b5d800000) (1024K)]
0x000001ee45f619f0 JavaThread "Monitor Deflation Thread" daemon [_thread_blocked, id=11932, stack(0x0000006b5d800000,0x0000006b5d900000) (1024K)]
0x000001ee45f70cc0 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=22760, stack(0x0000006b5d900000,0x0000006b5da00000) (1024K)]
0x000001ee45f72a70 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=24984, stack(0x0000006b5da00000,0x0000006b5db00000) (1024K)]
0x000001ee461d7390 JavaThread "Common-Cleaner" daemon [_thread_blocked, id=28416, stack(0x0000006b5dd00000,0x0000006b5de00000) (1024K)]
0x000001ee47646aa0 JavaThread "Notification Thread" daemon [_thread_blocked, id=12116, stack(0x0000006b5e000000,0x0000006b5e100000) (1024K)]
0x000001ee4c4c7880 JavaThread "Active Thread: Equinox Container: 0b653230-1c2a-4e76-8451-6cdb532e7b34" [_thread_blocked, id=23064, stack(0x0000006b5ea00000,0x0000006b5eb00000) (1024K)]
0x000001ee4c4c7f10 JavaThread "Refresh Thread: Equinox Container: 0b653230-1c2a-4e76-8451-6cdb532e7b34" daemon [_thread_blocked, id=27188, stack(0x0000006b5ec00000,0x0000006b5ed00000) (1024K)]
0x000001ee4c4c57b0 JavaThread "Framework Event Dispatcher: Equinox Container: 0b653230-1c2a-4e76-8451-6cdb532e7b34" daemon [_thread_blocked, id=10220, stack(0x0000006b5ed00000,0x0000006b5ee00000) (1024K)]
0x000001ee4c4c71f0 JavaThread "Start Level: Equinox Container: 0b653230-1c2a-4e76-8451-6cdb532e7b34" daemon [_thread_blocked, id=6764, stack(0x0000006b5ee00000,0x0000006b5ef00000) (1024K)]
0x000001ee4c4c5120 JavaThread "Bundle File Closer" daemon [_thread_blocked, id=25612, stack(0x0000006b5e100000,0x0000006b5e200000) (1024K)]
0x000001ee4c4c4a90 JavaThread "SCR Component Actor" daemon [_thread_blocked, id=5628, stack(0x0000006b5df00000,0x0000006b5e000000) (1024K)]
0x000001ee4c4c6b60 JavaThread "Worker-JM" [_thread_blocked, id=24024, stack(0x0000006b5f300000,0x0000006b5f400000) (1024K)]
0x000001ee4c4c64d0 JavaThread "JNA Cleaner" daemon [_thread_blocked, id=11764, stack(0x0000006b5f000000,0x0000006b5f100000) (1024K)]
0x000001ee4c7b5cf0 JavaThread "Worker-0" [_thread_blocked, id=3884, stack(0x0000006b5f400000,0x0000006b5f500000) (1024K)]
0x000001ee4c7b3c20 JavaThread "Java indexing" daemon [_thread_blocked, id=12220, stack(0x0000006b5f800000,0x0000006b5f900000) (1024K)]
0x000001ee4c7b4940 JavaThread "Worker-3" [_thread_blocked, id=20148, stack(0x0000006b5fe00000,0x0000006b5ff00000) (1024K)]
0x000001ee4c7b42b0 JavaThread "Thread-1" daemon [_thread_in_native, id=21516, stack(0x0000006b60000000,0x0000006b60100000) (1024K)]
0x000001ee4c7b6a10 JavaThread "Thread-2" daemon [_thread_in_native, id=18184, stack(0x0000006b60100000,0x0000006b60200000) (1024K)]
0x000001ee4c7b3590 JavaThread "Thread-3" daemon [_thread_in_native, id=26548, stack(0x0000006b60200000,0x0000006b60300000) (1024K)]
0x000001ee4c7b9800 JavaThread "Thread-4" daemon [_thread_in_native, id=26220, stack(0x0000006b60300000,0x0000006b60400000) (1024K)]
0x000001ee4c7b70a0 JavaThread "Thread-5" daemon [_thread_in_native, id=4216, stack(0x0000006b60400000,0x0000006b60500000) (1024K)]
0x000001ee4c7b7dc0 JavaThread "Thread-6" daemon [_thread_in_native, id=24700, stack(0x0000006b60500000,0x0000006b60600000) (1024K)]
0x000001ee4c7b9e90 JavaThread "Thread-7" daemon [_thread_in_native, id=13212, stack(0x0000006b60600000,0x0000006b60700000) (1024K)]
0x000001ee4c7b7730 JavaThread "Thread-8" daemon [_thread_in_native, id=18740, stack(0x0000006b60700000,0x0000006b60800000) (1024K)]
0x000001ee4c7b9170 JavaThread "Thread-9" daemon [_thread_in_native, id=21404, stack(0x0000006b60800000,0x0000006b60900000) (1024K)]
0x000001ee4c7b8450 JavaThread "Thread-10" daemon [_thread_in_native, id=10108, stack(0x0000006b60900000,0x0000006b60a00000) (1024K)]
0x000001ee4c7b8ae0 JavaThread "Thread-11" daemon [_thread_in_native, id=25376, stack(0x0000006b60a00000,0x0000006b60b00000) (1024K)]
0x000001ee4c7ba520 JavaThread "Thread-12" daemon [_thread_in_native, id=19180, stack(0x0000006b60b00000,0x0000006b60c00000) (1024K)]
0x000001ee5014c380 JavaThread "Thread-13" daemon [_thread_in_native, id=21956, stack(0x0000006b60c00000,0x0000006b60d00000) (1024K)]
0x000001ee5014bcf0 JavaThread "Thread-14" daemon [_thread_in_native, id=20232, stack(0x0000006b60d00000,0x0000006b60e00000) (1024K)]
0x000001ee5014ca10 JavaThread "Thread-15" daemon [_thread_in_native, id=18652, stack(0x0000006b60e00000,0x0000006b60f00000) (1024K)]
0x000001ee5014d730 JavaThread "Thread-16" daemon [_thread_in_native, id=29564, stack(0x0000006b60f00000,0x0000006b61000000) (1024K)]
0x000001ee5014d0a0 JavaThread "Thread-17" daemon [_thread_in_native, id=14624, stack(0x0000006b61000000,0x0000006b61100000) (1024K)]
0x000001ee5014a2b0 JavaThread "pool-2-thread-1" [_thread_blocked, id=3220, stack(0x0000006b61300000,0x0000006b61400000) (1024K)]
0x000001ee5014e450 JavaThread "WorkspaceEventsHandler" [_thread_blocked, id=9832, stack(0x0000006b61500000,0x0000006b61600000) (1024K)]
0x000001ee5014afd0 JavaThread "pool-1-thread-1" [_thread_blocked, id=26412, stack(0x0000006b61600000,0x0000006b61700000) (1024K)]
0x000001ee50133120 JavaThread "Java Debug Server" daemon [_thread_in_native, id=13492, stack(0x0000006b62600000,0x0000006b62700000) (1024K)]
0x000001ee501337b0 JavaThread "pool-4-thread-1" [_thread_in_native, id=7392, stack(0x0000006b62700000,0x0000006b62800000) (1024K)]
0x000001ee50134b60 JavaThread "RxSchedulerPurge-1" daemon [_thread_blocked, id=18484, stack(0x0000006b62800000,0x0000006b62900000) (1024K)]
0x000001ee501351f0 JavaThread "RxCachedWorkerPoolEvictor-1" daemon [_thread_blocked, id=7748, stack(0x0000006b62900000,0x0000006b62a00000) (1024K)]
0x000001ee50135880 JavaThread "RxNewThreadScheduler-1" daemon [_thread_blocked, id=30100, stack(0x0000006b62a00000,0x0000006b62b00000) (1024K)]
0x000001ee509a2fa0 JavaThread "process reaper (pid 29504)" daemon [_thread_in_native, id=22192, stack(0x0000006b5c920000,0x0000006b5c940000) (128K)]
Total: 48
Other Threads:
0x000001ee6d05eb10 VMThread "VM Thread" [id=25256, stack(0x0000006b5d200000,0x0000006b5d300000) (1024K)]
0x000001ee6ce2ca00 WatcherThread "VM Periodic Task Thread" [id=12400, stack(0x0000006b5d100000,0x0000006b5d200000) (1024K)]
0x000001ee6cfbbc00 WorkerThread "GC Thread#0" [id=1336, stack(0x0000006b5d000000,0x0000006b5d100000) (1024K)]
0x000001ee4c25b400 WorkerThread "GC Thread#1" [id=14740, stack(0x0000006b5e200000,0x0000006b5e300000) (1024K)]
0x000001ee47b0cfe0 WorkerThread "GC Thread#2" [id=26604, stack(0x0000006b5e300000,0x0000006b5e400000) (1024K)]
0x000001ee47b0c340 WorkerThread "GC Thread#3" [id=24000, stack(0x0000006b5e400000,0x0000006b5e500000) (1024K)]
0x000001ee47b0d390 WorkerThread "GC Thread#4" [id=15728, stack(0x0000006b5e500000,0x0000006b5e600000) (1024K)]
0x000001ee47b0d740 WorkerThread "GC Thread#5" [id=15956, stack(0x0000006b5e600000,0x0000006b5e700000) (1024K)]
0x000001ee4c2a70b0 WorkerThread "GC Thread#6" [id=3744, stack(0x0000006b5e700000,0x0000006b5e800000) (1024K)]
0x000001ee4c3bd2c0 WorkerThread "GC Thread#7" [id=15056, stack(0x0000006b5eb00000,0x0000006b5ec00000) (1024K)]
0x000001ee46032dc0 WorkerThread "GC Thread#8" [id=29540, stack(0x0000006b5db00000,0x0000006b5dc00000) (1024K)]
0x000001ee462ee630 WorkerThread "GC Thread#9" [id=27328, stack(0x0000006b5dc00000,0x0000006b5dd00000) (1024K)]
0x000001ee461f77e0 WorkerThread "GC Thread#10" [id=6200, stack(0x0000006b5de00000,0x0000006b5df00000) (1024K)]
0x000001ee4c2db4f0 WorkerThread "GC Thread#11" [id=27152, stack(0x0000006b5e900000,0x0000006b5ea00000) (1024K)]
0x000001ee4c700b70 WorkerThread "GC Thread#12" [id=29084, stack(0x0000006b5ef00000,0x0000006b5f000000) (1024K)]
Total: 15
Threads with active compile tasks:
Total: 0
VM state: not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap address: 0x0000000080000000, size: 2048 MB, Compressed Oops mode: 32-bit
CDS archive(s) mapped at: [0x000001ee04000000-0x000001ee04ba0000-0x000001ee04ba0000), size 12189696, SharedBaseAddress: 0x000001ee04000000, ArchiveRelocationMode: 1.
Compressed class space mapped at: 0x000001ee05000000-0x000001ee45000000, reserved size: 1073741824
Narrow klass base: 0x000001ee04000000, Narrow klass shift: 0, Narrow klass range: 0x100000000
GC Precious Log:
CardTable entry size: 512
CPUs: 16 total, 16 available
Memory: 16088M
Large Page Support: Disabled
NUMA Support: Disabled
Compressed Oops: Enabled (32-bit)
Alignments: Space 512K, Generation 512K, Heap 2M
Heap Min Capacity: 100M
Heap Initial Capacity: 100M
Heap Max Capacity: 2G
Pre-touch: Disabled
Parallel Workers: 13
Heap:
PSYoungGen total 6656K, used 4893K [0x00000000d5580000, 0x00000000d5e00000, 0x0000000100000000)
eden space 5632K, 69% used [0x00000000d5580000,0x00000000d5952510,0x00000000d5b00000)
from space 1024K, 95% used [0x00000000d5b00000,0x00000000d5bf5220,0x00000000d5c00000)
to space 1536K, 0% used [0x00000000d5c80000,0x00000000d5c80000,0x00000000d5e00000)
ParOldGen total 165888K, used 124740K [0x0000000080000000, 0x000000008a200000, 0x00000000d5580000)
object space 165888K, 75% used [0x0000000080000000,0x00000000879d1148,0x000000008a200000)
Metaspace used 67718K, committed 69248K, reserved 1114112K
class space used 7272K, committed 7936K, reserved 1048576K
Card table byte_map: [0x000001ee6c940000,0x000001ee6cd50000] _byte_map_base: 0x000001ee6c540000
Marking Bits: (ParMarkBitMap*) 0x00007ffe90983450
Begin Bits: [0x000001ee00000000, 0x000001ee02000000)
End Bits: [0x000001ee02000000, 0x000001ee04000000)
Polling page: 0x000001ee6af10000
Metaspace:
Usage:
Non-class: 59.03 MB used.
Class: 7.10 MB used.
Both: 66.13 MB used.
Virtual space:
Non-class space: 64.00 MB reserved, 59.88 MB ( 94%) committed, 1 nodes.
Class space: 1.00 GB reserved, 7.75 MB ( <1%) committed, 1 nodes.
Both: 1.06 GB reserved, 67.62 MB ( 6%) committed.
Chunk freelists:
Non-Class: 4.13 MB
Class: 8.16 MB
Both: 12.29 MB
MaxMetaspaceSize: unlimited
CompressedClassSpaceSize: 1.00 GB
Initial GC threshold: 21.00 MB
Current GC threshold: 97.31 MB
CDS: on
- commit_granule_bytes: 65536.
- commit_granule_words: 8192.
- virtual_space_node_default_size: 8388608.
- enlarge_chunks_in_place: 1.
- use_allocation_guard: 0.
Internal statistics:
num_allocs_failed_limit: 9.
num_arena_births: 1244.
num_arena_deaths: 22.
num_vsnodes_births: 2.
num_vsnodes_deaths: 0.
num_space_committed: 1082.
num_space_uncommitted: 0.
num_chunks_returned_to_freelist: 35.
num_chunks_taken_from_freelist: 4485.
num_chunk_merges: 16.
num_chunk_splits: 2721.
num_chunks_enlarged: 1457.
num_inconsistent_stats: 0.
CodeHeap 'non-profiled nmethods': size=119168Kb used=8085Kb max_used=8085Kb free=111083Kb
bounds [0x000001ee77d40000, 0x000001ee78530000, 0x000001ee7f1a0000]
CodeHeap 'profiled nmethods': size=119104Kb used=24483Kb max_used=24483Kb free=94620Kb
bounds [0x000001ee701a0000, 0x000001ee71990000, 0x000001ee775f0000]
CodeHeap 'non-nmethods': size=7488Kb used=1445Kb max_used=3189Kb free=6042Kb
bounds [0x000001ee775f0000, 0x000001ee77970000, 0x000001ee77d40000]
CodeCache: size=245760Kb, used=34013Kb, max_used=35757Kb, free=211745Kb
total_blobs=11537, nmethods=10772, adapters=671, full_count=0
Compilation: enabled, stopped_count=0, restarted_count=0
Compilation events (20 events):
Event: 1044.605 Thread 0x000001ee45f70cc0 11595 4 java.util.concurrent.ConcurrentHashMap$CollectionView::toArray (145 bytes)
Event: 1044.736 Thread 0x000001ee45f70cc0 nmethod 11595 0x000001ee7851de90 code [0x000001ee7851e080, 0x000001ee7851ea10]
Event: 1044.737 Thread 0x000001ee45f70cc0 11596 4 io.reactivex.internal.schedulers.SchedulerPoolFactory$ScheduledTask::run (66 bytes)
Event: 1044.991 Thread 0x000001ee45f70cc0 nmethod 11596 0x000001ee7851f190 code [0x000001ee7851f460, 0x000001ee78520a08]
Event: 1141.590 Thread 0x000001ee45f70cc0 11597 4 java.util.concurrent.locks.LockSupport::setBlocker (12 bytes)
Event: 1141.592 Thread 0x000001ee45f70cc0 nmethod 11597 0x000001ee78522710 code [0x000001ee78522880, 0x000001ee78522908]
Event: 1219.854 Thread 0x000001ee45f72a70 11598 3 java.util.concurrent.ScheduledThreadPoolExecutor::triggerTime (22 bytes)
Event: 1219.878 Thread 0x000001ee45f72a70 nmethod 11598 0x000001ee71989190 code [0x000001ee71989340, 0x000001ee71989520]
Event: 1280.595 Thread 0x000001ee45f70cc0 11599 4 java.util.concurrent.locks.AbstractQueuedSynchronizer::acquire (20 bytes)
Event: 1280.603 Thread 0x000001ee45f70cc0 nmethod 11599 0x000001ee78522a10 code [0x000001ee78522ba0, 0x000001ee78522c98]
Event: 1293.524 Thread 0x000001ee45f72a70 11600 1 org.eclipse.jdt.ls.core.internal.LanguageServerApplication::getParentProcessId (5 bytes)
Event: 1293.526 Thread 0x000001ee45f72a70 nmethod 11600 0x000001ee78522d90 code [0x000001ee78522f20, 0x000001ee78522fe8]
Event: 1449.603 Thread 0x000001ee45f70cc0 11601 ! 4 java.util.concurrent.locks.AbstractQueuedSynchronizer::acquire (424 bytes)
Event: 1449.675 Thread 0x000001ee45f70cc0 nmethod 11601 0x000001ee78523090 code [0x000001ee78523300, 0x000001ee785240a8]
Event: 1513.770 Thread 0x000001ee45f70cc0 11602 4 java.util.concurrent.ScheduledThreadPoolExecutor::canRunInCurrentRunState (61 bytes)
Event: 1513.778 Thread 0x000001ee45f70cc0 nmethod 11602 0x000001ee78524910 code [0x000001ee78524aa0, 0x000001ee78524b68]
Event: 1549.592 Thread 0x000001ee45f70cc0 11603 4 java.util.concurrent.TimeUnit::convert (73 bytes)
Event: 1549.598 Thread 0x000001ee45f70cc0 nmethod 11603 0x000001ee78524c90 code [0x000001ee78524e40, 0x000001ee78524fd0]
Event: 1692.948 Thread 0x000001ee45f72a70 11604 1 com.sun.jna.internal.Cleaner::access$100 (5 bytes)
Event: 1692.954 Thread 0x000001ee45f72a70 nmethod 11604 0x000001ee78525110 code [0x000001ee785252a0, 0x000001ee78525350]
GC Heap History (20 events):
Event: 19.287 GC heap before
{Heap before GC invocations=249 (full 3):
PSYoungGen total 8192K, used 7734K [0x00000000d5580000, 0x00000000d5f00000, 0x0000000100000000)
eden space 6656K, 100% used [0x00000000d5580000,0x00000000d5c00000,0x00000000d5c00000)
from space 1536K, 70% used [0x00000000d5c00000,0x00000000d5d0d9c0,0x00000000d5d80000)
to space 1536K, 0% used [0x00000000d5d80000,0x00000000d5d80000,0x00000000d5f00000)
ParOldGen total 165888K, used 122117K [0x0000000080000000, 0x000000008a200000, 0x00000000d5580000)
object space 165888K, 73% used [0x0000000080000000,0x00000000877414f8,0x000000008a200000)
Metaspace used 61701K, committed 63168K, reserved 1114112K
class space used 6571K, committed 7168K, reserved 1048576K
}
Event: 19.287 GC heap after
{Heap after GC invocations=249 (full 3):
PSYoungGen total 8192K, used 1118K [0x00000000d5580000, 0x00000000d5f00000, 0x0000000100000000)
eden space 6656K, 0% used [0x00000000d5580000,0x00000000d5580000,0x00000000d5c00000)
from space 1536K, 72% used [0x00000000d5d80000,0x00000000d5e97a78,0x00000000d5f00000)
to space 1536K, 0% used [0x00000000d5c00000,0x00000000d5c00000,0x00000000d5d80000)
ParOldGen total 165888K, used 122165K [0x0000000080000000, 0x000000008a200000, 0x00000000d5580000)
object space 165888K, 73% used [0x0000000080000000,0x000000008774d4f8,0x000000008a200000)
Metaspace used 61701K, committed 63168K, reserved 1114112K
class space used 6571K, committed 7168K, reserved 1048576K
}
Event: 19.303 GC heap before
{Heap before GC invocations=250 (full 3):
PSYoungGen total 8192K, used 7774K [0x00000000d5580000, 0x00000000d5f00000, 0x0000000100000000)
eden space 6656K, 100% used [0x00000000d5580000,0x00000000d5c00000,0x00000000d5c00000)
from space 1536K, 72% used [0x00000000d5d80000,0x00000000d5e97a78,0x00000000d5f00000)
to space 1536K, 0% used [0x00000000d5c00000,0x00000000d5c00000,0x00000000d5d80000)
ParOldGen total 165888K, used 122165K [0x0000000080000000, 0x000000008a200000, 0x00000000d5580000)
object space 165888K, 73% used [0x0000000080000000,0x000000008774d4f8,0x000000008a200000)
Metaspace used 61903K, committed 63424K, reserved 1114112K
class space used 6577K, committed 7232K, reserved 1048576K
}
Event: 19.303 GC heap after
{Heap after GC invocations=250 (full 3):
PSYoungGen total 7168K, used 384K [0x00000000d5580000, 0x00000000d5e00000, 0x0000000100000000)
eden space 6656K, 0% used [0x00000000d5580000,0x00000000d5580000,0x00000000d5c00000)
from space 512K, 75% used [0x00000000d5c00000,0x00000000d5c60000,0x00000000d5c80000)
to space 1024K, 0% used [0x00000000d5d00000,0x00000000d5d00000,0x00000000d5e00000)
ParOldGen total 165888K, used 122213K [0x0000000080000000, 0x000000008a200000, 0x00000000d5580000)
object space 165888K, 73% used [0x0000000080000000,0x00000000877594f8,0x000000008a200000)
Metaspace used 61903K, committed 63424K, reserved 1114112K
class space used 6577K, committed 7232K, reserved 1048576K
}
Event: 19.362 GC heap before
{Heap before GC invocations=251 (full 3):
PSYoungGen total 7168K, used 7035K [0x00000000d5580000, 0x00000000d5e00000, 0x0000000100000000)
eden space 6656K, 99% used [0x00000000d5580000,0x00000000d5bfed00,0x00000000d5c00000)
from space 512K, 75% used [0x00000000d5c00000,0x00000000d5c60000,0x00000000d5c80000)
to space 1024K, 0% used [0x00000000d5d00000,0x00000000d5d00000,0x00000000d5e00000)
ParOldGen total 165888K, used 122213K [0x0000000080000000, 0x000000008a200000, 0x00000000d5580000)
object space 165888K, 73% used [0x0000000080000000,0x00000000877594f8,0x000000008a200000)
Metaspace used 62695K, committed 64192K, reserved 1114112K
class space used 6664K, committed 7296K, reserved 1048576K
}
Event: 19.363 GC heap after
{Heap after GC invocations=251 (full 3):
PSYoungGen total 7680K, used 500K [0x00000000d5580000, 0x00000000d5e00000, 0x0000000100000000)
eden space 6656K, 0% used [0x00000000d5580000,0x00000000d5580000,0x00000000d5c00000)
from space 1024K, 48% used [0x00000000d5d00000,0x00000000d5d7d200,0x00000000d5e00000)
to space 1024K, 0% used [0x00000000d5c00000,0x00000000d5c00000,0x00000000d5d00000)
ParOldGen total 165888K, used 122277K [0x0000000080000000, 0x000000008a200000, 0x00000000d5580000)
object space 165888K, 73% used [0x0000000080000000,0x00000000877694f8,0x000000008a200000)
Metaspace used 62695K, committed 64192K, reserved 1114112K
class space used 6664K, committed 7296K, reserved 1048576K
}
Event: 19.406 GC heap before
{Heap before GC invocations=252 (full 3):
PSYoungGen total 7680K, used 7156K [0x00000000d5580000, 0x00000000d5e00000, 0x0000000100000000)
eden space 6656K, 100% used [0x00000000d5580000,0x00000000d5c00000,0x00000000d5c00000)
from space 1024K, 48% used [0x00000000d5d00000,0x00000000d5d7d200,0x00000000d5e00000)
to space 1024K, 0% used [0x00000000d5c00000,0x00000000d5c00000,0x00000000d5d00000)
ParOldGen total 165888K, used 122277K [0x0000000080000000, 0x000000008a200000, 0x00000000d5580000)
object space 165888K, 73% used [0x0000000080000000,0x00000000877694f8,0x000000008a200000)
Metaspace used 63154K, committed 64640K, reserved 1114112K
class space used 6703K, committed 7296K, reserved 1048576K
}
Event: 19.407 GC heap after
{Heap after GC invocations=252 (full 3):
PSYoungGen total 7680K, used 434K [0x00000000d5580000, 0x00000000d5d80000, 0x0000000100000000)
eden space 6656K, 0% used [0x00000000d5580000,0x00000000d5580000,0x00000000d5c00000)
from space 1024K, 42% used [0x00000000d5c00000,0x00000000d5c6c9f0,0x00000000d5d00000)
to space 512K, 0% used [0x00000000d5d00000,0x00000000d5d00000,0x00000000d5d80000)
ParOldGen total 165888K, used 122405K [0x0000000080000000, 0x000000008a200000, 0x00000000d5580000)
object space 165888K, 73% used [0x0000000080000000,0x00000000877894f8,0x000000008a200000)
Metaspace used 63154K, committed 64640K, reserved 1114112K
class space used 6703K, committed 7296K, reserved 1048576K
}
Event: 19.511 GC heap before
{Heap before GC invocations=253 (full 3):
PSYoungGen total 7680K, used 7062K [0x00000000d5580000, 0x00000000d5d80000, 0x0000000100000000)
eden space 6656K, 99% used [0x00000000d5580000,0x00000000d5bf9080,0x00000000d5c00000)
from space 1024K, 42% used [0x00000000d5c00000,0x00000000d5c6c9f0,0x00000000d5d00000)
to space 512K, 0% used [0x00000000d5d00000,0x00000000d5d00000,0x00000000d5d80000)
ParOldGen total 165888K, used 122405K [0x0000000080000000, 0x000000008a200000, 0x00000000d5580000)
object space 165888K, 73% used [0x0000000080000000,0x00000000877894f8,0x000000008a200000)
Metaspace used 64404K, committed 65920K, reserved 1114112K
class space used 6816K, committed 7488K, reserved 1048576K
}
Event: 19.512 GC heap after
{Heap after GC invocations=253 (full 3):
PSYoungGen total 7168K, used 499K [0x00000000d5580000, 0x00000000d5e00000, 0x0000000100000000)
eden space 6656K, 0% used [0x00000000d5580000,0x00000000d5580000,0x00000000d5c00000)
from space 512K, 97% used [0x00000000d5d00000,0x00000000d5d7ce20,0x00000000d5d80000)
to space 1024K, 0% used [0x00000000d5c00000,0x00000000d5c00000,0x00000000d5d00000)
ParOldGen total 165888K, used 122533K [0x0000000080000000, 0x000000008a200000, 0x00000000d5580000)
object space 165888K, 73% used [0x0000000080000000,0x00000000877a94f8,0x000000008a200000)
Metaspace used 64404K, committed 65920K, reserved 1114112K
class space used 6816K, committed 7488K, reserved 1048576K
}
Event: 19.569 GC heap before
{Heap before GC invocations=254 (full 3):
PSYoungGen total 7168K, used 7155K [0x00000000d5580000, 0x00000000d5e00000, 0x0000000100000000)
eden space 6656K, 100% used [0x00000000d5580000,0x00000000d5c00000,0x00000000d5c00000)
from space 512K, 97% used [0x00000000d5d00000,0x00000000d5d7ce20,0x00000000d5d80000)
to space 1024K, 0% used [0x00000000d5c00000,0x00000000d5c00000,0x00000000d5d00000)
ParOldGen total 165888K, used 122533K [0x0000000080000000, 0x000000008a200000, 0x00000000d5580000)
object space 165888K, 73% used [0x0000000080000000,0x00000000877a94f8,0x000000008a200000)
Metaspace used 65220K, committed 66752K, reserved 1114112K
class space used 6907K, committed 7552K, reserved 1048576K
}
Event: 19.570 GC heap after
{Heap after GC invocations=254 (full 3):
PSYoungGen total 7680K, used 480K [0x00000000d5580000, 0x00000000d5e00000, 0x0000000100000000)
eden space 6656K, 0% used [0x00000000d5580000,0x00000000d5580000,0x00000000d5c00000)
from space 1024K, 46% used [0x00000000d5c00000,0x00000000d5c78020,0x00000000d5d00000)
to space 1024K, 0% used [0x00000000d5d00000,0x00000000d5d00000,0x00000000d5e00000)
ParOldGen total 165888K, used 122868K [0x0000000080000000, 0x000000008a200000, 0x00000000d5580000)
object space 165888K, 74% used [0x0000000080000000,0x00000000877fd0b8,0x000000008a200000)
Metaspace used 65220K, committed 66752K, reserved 1114112K
class space used 6907K, committed 7552K, reserved 1048576K
}
Event: 19.631 GC heap before
{Heap before GC invocations=255 (full 3):
PSYoungGen total 7680K, used 7136K [0x00000000d5580000, 0x00000000d5e00000, 0x0000000100000000)
eden space 6656K, 100% used [0x00000000d5580000,0x00000000d5c00000,0x00000000d5c00000)
from space 1024K, 46% used [0x00000000d5c00000,0x00000000d5c78020,0x00000000d5d00000)
to space 1024K, 0% used [0x00000000d5d00000,0x00000000d5d00000,0x00000000d5e00000)
ParOldGen total 165888K, used 122868K [0x0000000080000000, 0x000000008a200000, 0x00000000d5580000)
object space 165888K, 74% used [0x0000000080000000,0x00000000877fd0b8,0x000000008a200000)
Metaspace used 65876K, committed 67392K, reserved 1114112K
class space used 7032K, committed 7680K, reserved 1048576K
}
Event: 19.631 GC heap after
{Heap after GC invocations=255 (full 3):
PSYoungGen total 7168K, used 416K [0x00000000d5580000, 0x00000000d5d80000, 0x0000000100000000)
eden space 6656K, 0% used [0x00000000d5580000,0x00000000d5580000,0x00000000d5c00000)
from space 512K, 81% used [0x00000000d5d00000,0x00000000d5d68000,0x00000000d5d80000)
to space 512K, 0% used [0x00000000d5c80000,0x00000000d5c80000,0x00000000d5d00000)
ParOldGen total 165888K, used 123052K [0x0000000080000000, 0x000000008a200000, 0x00000000d5580000)
object space 165888K, 74% used [0x0000000080000000,0x000000008782b0d8,0x000000008a200000)
Metaspace used 65876K, committed 67392K, reserved 1114112K
class space used 7032K, committed 7680K, reserved 1048576K
}
Event: 19.688 GC heap before
{Heap before GC invocations=256 (full 3):
PSYoungGen total 7168K, used 7072K [0x00000000d5580000, 0x00000000d5d80000, 0x0000000100000000)
eden space 6656K, 100% used [0x00000000d5580000,0x00000000d5c00000,0x00000000d5c00000)
from space 512K, 81% used [0x00000000d5d00000,0x00000000d5d68000,0x00000000d5d80000)
to space 512K, 0% used [0x00000000d5c80000,0x00000000d5c80000,0x00000000d5d00000)
ParOldGen total 165888K, used 123052K [0x0000000080000000, 0x000000008a200000, 0x00000000d5580000)
object space 165888K, 74% used [0x0000000080000000,0x000000008782b0d8,0x000000008a200000)
Metaspace used 66605K, committed 68160K, reserved 1114112K
class space used 7141K, committed 7808K, reserved 1048576K
}
Event: 19.688 GC heap after
{Heap after GC invocations=256 (full 3):
PSYoungGen total 7168K, used 384K [0x00000000d5580000, 0x00000000d5d80000, 0x0000000100000000)
eden space 6656K, 0% used [0x00000000d5580000,0x00000000d5580000,0x00000000d5c00000)
from space 512K, 75% used [0x00000000d5c80000,0x00000000d5ce0000,0x00000000d5d00000)
to space 512K, 0% used [0x00000000d5d00000,0x00000000d5d00000,0x00000000d5d80000)
ParOldGen total 165888K, used 123212K [0x0000000080000000, 0x000000008a200000, 0x00000000d5580000)
object space 165888K, 74% used [0x0000000080000000,0x0000000087853108,0x000000008a200000)
Metaspace used 66605K, committed 68160K, reserved 1114112K
class space used 7141K, committed 7808K, reserved 1048576K
}
Event: 30.835 GC heap before
{Heap before GC invocations=257 (full 3):
PSYoungGen total 7168K, used 7040K [0x00000000d5580000, 0x00000000d5d80000, 0x0000000100000000)
eden space 6656K, 100% used [0x00000000d5580000,0x00000000d5c00000,0x00000000d5c00000)
from space 512K, 75% used [0x00000000d5c80000,0x00000000d5ce0000,0x00000000d5d00000)
to space 512K, 0% used [0x00000000d5d00000,0x00000000d5d00000,0x00000000d5d80000)
ParOldGen total 165888K, used 123212K [0x0000000080000000, 0x000000008a200000, 0x00000000d5580000)
object space 165888K, 74% used [0x0000000080000000,0x0000000087853108,0x000000008a200000)
Metaspace used 67075K, committed 68672K, reserved 1114112K
class space used 7195K, committed 7872K, reserved 1048576K
}
Event: 30.836 GC heap after
{Heap after GC invocations=257 (full 3):
PSYoungGen total 6144K, used 512K [0x00000000d5580000, 0x00000000d6000000, 0x0000000100000000)
eden space 5632K, 0% used [0x00000000d5580000,0x00000000d5580000,0x00000000d5b00000)
from space 512K, 100% used [0x00000000d5d00000,0x00000000d5d80000,0x00000000d5d80000)
to space 2048K, 0% used [0x00000000d5b00000,0x00000000d5b00000,0x00000000d5d00000)
ParOldGen total 165888K, used 124244K [0x0000000080000000, 0x000000008a200000, 0x00000000d5580000)
object space 165888K, 74% used [0x0000000080000000,0x0000000087955148,0x000000008a200000)
Metaspace used 67075K, committed 68672K, reserved 1114112K
class space used 7195K, committed 7872K, reserved 1048576K
}
Event: 169.382 GC heap before
{Heap before GC invocations=258 (full 3):
PSYoungGen total 6144K, used 6144K [0x00000000d5580000, 0x00000000d6000000, 0x0000000100000000)
eden space 5632K, 100% used [0x00000000d5580000,0x00000000d5b00000,0x00000000d5b00000)
from space 512K, 100% used [0x00000000d5d00000,0x00000000d5d80000,0x00000000d5d80000)
to space 2048K, 0% used [0x00000000d5b00000,0x00000000d5b00000,0x00000000d5d00000)
ParOldGen total 165888K, used 124244K [0x0000000080000000, 0x000000008a200000, 0x00000000d5580000)
object space 165888K, 74% used [0x0000000080000000,0x0000000087955148,0x000000008a200000)
Metaspace used 67527K, committed 69120K, reserved 1114112K
class space used 7255K, committed 7936K, reserved 1048576K
}
Event: 169.386 GC heap after
{Heap after GC invocations=258 (full 3):
PSYoungGen total 6656K, used 980K [0x00000000d5580000, 0x00000000d5e00000, 0x0000000100000000)
eden space 5632K, 0% used [0x00000000d5580000,0x00000000d5580000,0x00000000d5b00000)
from space 1024K, 95% used [0x00000000d5b00000,0x00000000d5bf5220,0x00000000d5c00000)
to space 1536K, 0% used [0x00000000d5c80000,0x00000000d5c80000,0x00000000d5e00000)
ParOldGen total 165888K, used 124740K [0x0000000080000000, 0x000000008a200000, 0x00000000d5580000)
object space 165888K, 75% used [0x0000000080000000,0x00000000879d1148,0x000000008a200000)
Metaspace used 67527K, committed 69120K, reserved 1114112K
class space used 7255K, committed 7936K, reserved 1048576K
}
Dll operation events (12 events):
Event: 0.007 Loaded shared library c:\Users\Evan\.vscode\extensions\redhat.java-1.54.0-win32-x64\jre\21.0.10-win32-x86_64\bin\java.dll
Event: 0.043 Loaded shared library c:\Users\Evan\.vscode\extensions\redhat.java-1.54.0-win32-x64\jre\21.0.10-win32-x86_64\bin\zip.dll
Event: 0.055 Loaded shared library C:\Users\Evan\.vscode\extensions\redhat.java-1.54.0-win32-x64\jre\21.0.10-win32-x86_64\bin\instrument.dll
Event: 0.058 Loaded shared library C:\Users\Evan\.vscode\extensions\redhat.java-1.54.0-win32-x64\jre\21.0.10-win32-x86_64\bin\net.dll
Event: 0.059 Loaded shared library C:\Users\Evan\.vscode\extensions\redhat.java-1.54.0-win32-x64\jre\21.0.10-win32-x86_64\bin\nio.dll
Event: 0.061 Loaded shared library C:\Users\Evan\.vscode\extensions\redhat.java-1.54.0-win32-x64\jre\21.0.10-win32-x86_64\bin\zip.dll
Event: 0.071 Loaded shared library C:\Users\Evan\.vscode\extensions\redhat.java-1.54.0-win32-x64\jre\21.0.10-win32-x86_64\bin\jimage.dll
Event: 0.114 Loaded shared library c:\Users\Evan\.vscode\extensions\redhat.java-1.54.0-win32-x64\jre\21.0.10-win32-x86_64\bin\verify.dll
Event: 1.018 Loaded shared library C:\Users\Evan\AppData\Roaming\Code\User\globalStorage\redhat.java\1.54.0\config_win\org.eclipse.equinox.launcher\org.eclipse.equinox.launcher.win32.win32.x86_64_1.3.0.v20260203-2149\eclipse_11919.dll
Event: 8.641 Loaded shared library C:\Users\Evan\AppData\Local\Temp\jna-2172094\jna6651005057382125844.dll
Event: 16.256 Loaded shared library C:\Users\Evan\.vscode\extensions\redhat.java-1.54.0-win32-x64\jre\21.0.10-win32-x86_64\bin\sunmscapi.dll
Event: 19.486 Loaded shared library C:\Users\Evan\.vscode\extensions\redhat.java-1.54.0-win32-x64\jre\21.0.10-win32-x86_64\bin\extnet.dll
Deoptimization events (20 events):
Event: 30.812 Thread 0x000001ee4c4c7880 DEOPT PACKING pc=0x000001ee70a3b850 sp=0x0000006b5eafeac0
Event: 30.813 Thread 0x000001ee4c4c7880 DEOPT UNPACKING pc=0x000001ee77644242 sp=0x0000006b5eafe018 mode 0
Event: 30.813 Thread 0x000001ee4c4c7880 DEOPT PACKING pc=0x000001ee70a3b850 sp=0x0000006b5eafeac0
Event: 30.813 Thread 0x000001ee4c4c7880 DEOPT UNPACKING pc=0x000001ee77644242 sp=0x0000006b5eafe018 mode 0
Event: 30.813 Thread 0x000001ee4c4c7880 DEOPT PACKING pc=0x000001ee70a3b850 sp=0x0000006b5eafeac0
Event: 30.813 Thread 0x000001ee4c4c7880 DEOPT UNPACKING pc=0x000001ee77644242 sp=0x0000006b5eafe018 mode 0
Event: 30.814 Thread 0x000001ee4c4c7880 DEOPT PACKING pc=0x000001ee70a3b850 sp=0x0000006b5eafeac0
Event: 30.814 Thread 0x000001ee4c4c7880 DEOPT UNPACKING pc=0x000001ee77644242 sp=0x0000006b5eafe018 mode 0
Event: 30.845 Thread 0x000001ee4c4c7880 Uncommon trap: trap_request=0xffffff45 fr.pc=0x000001ee783807a8 relative=0x0000000000000948
Event: 30.845 Thread 0x000001ee4c4c7880 Uncommon trap: reason=unstable_if action=reinterpret pc=0x000001ee783807a8 method=java.util.ImmutableCollections$AbstractImmutableList.equals(Ljava/lang/Object;)Z @ 2 c2
Event: 30.846 Thread 0x000001ee4c4c7880 DEOPT PACKING pc=0x000001ee783807a8 sp=0x0000006b5eafe480
Event: 30.846 Thread 0x000001ee4c4c7880 DEOPT UNPACKING pc=0x000001ee77643aa2 sp=0x0000006b5eafe420 mode 2
Event: 167.002 Thread 0x000001ee5014b660 Uncommon trap: trap_request=0xffffffcc fr.pc=0x000001ee78480b40 relative=0x0000000000002780
Event: 167.002 Thread 0x000001ee5014b660 Uncommon trap: reason=intrinsic_or_type_checked_inlining action=make_not_entrant pc=0x000001ee78480b40 method=java.util.ArrayList$SubList.toArray([Ljava/lang/Object;)[Ljava/lang/Object; @ 58 c2
Event: 167.002 Thread 0x000001ee5014b660 DEOPT PACKING pc=0x000001ee78480b40 sp=0x0000006b618fbac0
Event: 167.003 Thread 0x000001ee5014b660 DEOPT UNPACKING pc=0x000001ee77643aa2 sp=0x0000006b618fb880 mode 2
Event: 167.003 Thread 0x000001ee5014b660 Uncommon trap: trap_request=0xffffffcc fr.pc=0x000001ee7846c8d8 relative=0x0000000000001838
Event: 167.003 Thread 0x000001ee5014b660 Uncommon trap: reason=intrinsic_or_type_checked_inlining action=make_not_entrant pc=0x000001ee7846c8d8 method=java.util.ArrayList$SubList.toArray([Ljava/lang/Object;)[Ljava/lang/Object; @ 58 c2
Event: 167.003 Thread 0x000001ee5014b660 DEOPT PACKING pc=0x000001ee7846c8d8 sp=0x0000006b618fb800
Event: 167.003 Thread 0x000001ee5014b660 DEOPT UNPACKING pc=0x000001ee77643aa2 sp=0x0000006b618fb728 mode 2
Classes loaded (20 events):
Event: 30.847 Loading class sun/util/cldr/CLDRTimeZoneNameProviderImpl
Event: 30.847 Loading class sun/util/locale/provider/TimeZoneNameProviderImpl
Event: 30.847 Loading class sun/util/locale/provider/TimeZoneNameProviderImpl done
Event: 30.847 Loading class sun/util/cldr/CLDRTimeZoneNameProviderImpl done
Event: 30.849 Loading class sun/util/resources/cldr/TimeZoneNames
Event: 30.849 Loading class sun/util/resources/TimeZoneNamesBundle
Event: 30.849 Loading class sun/util/resources/OpenListResourceBundle
Event: 30.849 Loading class sun/util/resources/OpenListResourceBundle done
Event: 30.849 Loading class sun/util/resources/TimeZoneNamesBundle done
Event: 30.849 Loading class sun/util/resources/cldr/TimeZoneNames done
Event: 30.849 Loading class sun/util/resources/cldr/TimeZoneNames_en
Event: 30.850 Loading class sun/util/resources/cldr/TimeZoneNames_en done
Event: 30.851 Loading class sun/util/resources/cldr/TimeZoneNames_en_US
Event: 30.851 Loading class sun/util/resources/cldr/TimeZoneNames_en_US done
Event: 30.852 Loading class sun/util/cldr/CLDRBaseLocaleDataMetaInfo$TZCanonicalIDMapHolder
Event: 30.853 Loading class sun/util/cldr/CLDRBaseLocaleDataMetaInfo$TZCanonicalIDMapHolder done
Event: 30.855 Loading class sun/util/resources/TimeZoneNames
Event: 30.856 Loading class sun/util/resources/TimeZoneNames done
Event: 30.856 Loading class sun/util/resources/TimeZoneNames_en
Event: 30.856 Loading class sun/util/resources/TimeZoneNames_en done
Classes unloaded (11 events):
Event: 9.654 Thread 0x000001ee6d05eb10 Unloading class 0x000001ee051af400 'java/lang/invoke/LambdaForm$MH+0x000001ee051af400'
Event: 9.654 Thread 0x000001ee6d05eb10 Unloading class 0x000001ee051af000 'java/lang/invoke/LambdaForm$MH+0x000001ee051af000'
Event: 9.654 Thread 0x000001ee6d05eb10 Unloading class 0x000001ee051aec00 'java/lang/invoke/LambdaForm$MH+0x000001ee051aec00'
Event: 9.654 Thread 0x000001ee6d05eb10 Unloading class 0x000001ee051ae800 'java/lang/invoke/LambdaForm$MH+0x000001ee051ae800'
Event: 9.654 Thread 0x000001ee6d05eb10 Unloading class 0x000001ee051ae400 'java/lang/invoke/LambdaForm$BMH+0x000001ee051ae400'
Event: 9.654 Thread 0x000001ee6d05eb10 Unloading class 0x000001ee051ae000 'java/lang/invoke/LambdaForm$DMH+0x000001ee051ae000'
Event: 9.654 Thread 0x000001ee6d05eb10 Unloading class 0x000001ee051acc00 'java/lang/invoke/LambdaForm$DMH+0x000001ee051acc00'
Event: 17.616 Thread 0x000001ee6d05eb10 Unloading class 0x000001ee056dd000 'java/lang/invoke/LambdaForm$DMH+0x000001ee056dd000'
Event: 17.616 Thread 0x000001ee6d05eb10 Unloading class 0x000001ee056dc800 'java/lang/invoke/LambdaForm$DMH+0x000001ee056dc800'
Event: 17.616 Thread 0x000001ee6d05eb10 Unloading class 0x000001ee056dcc00 'java/lang/invoke/LambdaForm$DMH+0x000001ee056dcc00'
Event: 17.616 Thread 0x000001ee6d05eb10 Unloading class 0x000001ee056dc000 'java/lang/invoke/LambdaForm$DMH+0x000001ee056dc000'
Classes redefined (0 events):
No events
Internal exceptions (20 events):
Event: 19.056 Thread 0x000001ee5012e260 Exception <a 'sun/nio/fs/WindowsException'{0x00000000d5b11540}> (0x00000000d5b11540)
thrown [s\src\hotspot\share\prims\jni.cpp, line 520]
Event: 19.086 Thread 0x000001ee50151240 Implicit null exception at 0x000001ee783c2b5c to 0x000001ee783c3164
Event: 19.087 Thread 0x000001ee4c7b2f00 Exception <a 'java/lang/NoSuchMethodError'{0x00000000d55bece8}: 'void java.lang.invoke.DirectMethodHandle$Holder.invokeStatic(java.lang.Object, java.lang.Object, int, java.lang.Object, java.lang.Object)'> (0x00000000d55bece8)
thrown [s\src\hotspot\share\interpreter\linkResolver.cpp, line 773]
Event: 19.091 Thread 0x000001ee50151240 Exception <a 'java/lang/NoSuchMethodError'{0x00000000d55dc138}: 'void java.lang.invoke.DirectMethodHandle$Holder.invokeStatic(java.lang.Object, int, java.lang.Object)'> (0x00000000d55dc138)
thrown [s\src\hotspot\share\interpreter\linkResolver.cpp, line 773]
Event: 19.091 Thread 0x000001ee4c7b2f00 Exception <a 'java/lang/NoSuchMethodError'{0x00000000d55c5078}: 'void java.lang.invoke.DirectMethodHandle$Holder.invokeStatic(java.lang.Object, int, java.lang.Object)'> (0x00000000d55c5078)
thrown [s\src\hotspot\share\interpreter\linkResolver.cpp, line 773]
Event: 19.234 Thread 0x000001ee4c7b2f00 Exception <a 'java/io/FileNotFoundException'{0x00000000d5a25358}> (0x00000000d5a25358)
thrown [s\src\hotspot\share\prims\jni.cpp, line 520]
Event: 19.234 Thread 0x000001ee4c7b2f00 Exception <a 'java/io/FileNotFoundException'{0x00000000d5a26430}> (0x00000000d5a26430)
thrown [s\src\hotspot\share\prims\jni.cpp, line 520]
Event: 19.235 Thread 0x000001ee4c7b2f00 Exception <a 'java/io/FileNotFoundException'{0x00000000d5a27190}> (0x00000000d5a27190)
thrown [s\src\hotspot\share\prims\jni.cpp, line 520]
Event: 19.517 Thread 0x000001ee501337b0 Exception <a 'java/io/FileNotFoundException'{0x00000000d55e4100}> (0x00000000d55e4100)
thrown [s\src\hotspot\share\prims\jni.cpp, line 520]
Event: 19.648 Thread 0x000001ee501337b0 Exception <a 'java/lang/NoSuchMethodError'{0x00000000d57911d8}: 'java.lang.Object java.lang.invoke.DirectMethodHandle$Holder.invokeVirtual(java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object)'> (0x00000000d57911d8)
thrown [s\src\hotspot\share\interpreter\linkResolver.cpp, line 773]
Event: 19.681 Thread 0x000001ee50135880 Exception <a 'java/lang/NoSuchMethodError'{0x00000000d5ba6dc8}: 'java.lang.Object java.lang.invoke.DirectMethodHandle$Holder.invokeStatic(java.lang.Object, long, java.lang.Object, java.lang.Object)'> (0x00000000d5ba6dc8)
thrown [s\src\hotspot\share\interpreter\linkResolver.cpp, line 773]
Event: 19.697 Thread 0x000001ee50135880 Exception <a 'sun/nio/fs/WindowsException'{0x00000000d55d6df8}> (0x00000000d55d6df8)
thrown [s\src\hotspot\share\prims\jni.cpp, line 520]
Event: 19.697 Thread 0x000001ee50135880 Exception <a 'sun/nio/fs/WindowsException'{0x00000000d55d7df8}> (0x00000000d55d7df8)
thrown [s\src\hotspot\share\prims\jni.cpp, line 520]
Event: 20.430 Thread 0x000001ee509a5d90 Exception <a 'java/lang/NoSuchMethodError'{0x00000000d56f1168}: 'long java.lang.invoke.DelegatingMethodHandle$Holder.reinvoke_L(java.lang.Object, java.lang.Object)'> (0x00000000d56f1168)
thrown [s\src\hotspot\share\interpreter\linkResolver.cpp, line 773]
Event: 20.431 Thread 0x000001ee509a5d90 Exception <a 'java/lang/NoSuchMethodError'{0x00000000d56fb0e0}: 'void java.lang.invoke.DelegatingMethodHandle$Holder.reinvoke_L(java.lang.Object, java.lang.Object, long)'> (0x00000000d56fb0e0)
thrown [s\src\hotspot\share\interpreter\linkResolver.cpp, line 773]
Event: 24.990 Thread 0x000001ee509a5d90 Exception <a 'java/lang/NoSuchMethodError'{0x00000000d58f8a30}: 'long java.lang.invoke.Invokers$Holder.invokeExact_MT(java.lang.Object, java.lang.Object, java.lang.Object)'> (0x00000000d58f8a30)
thrown [s\src\hotspot\share\interpreter\linkResolver.cpp, line 773]
Event: 31.624 Thread 0x000001ee5014afd0 Exception <a 'java/lang/IncompatibleClassChangeError'{0x00000000d5658cb0}: Found class java.lang.Object, but interface was expected> (0x00000000d5658cb0)
thrown [s\src\hotspot\share\interpreter\linkResolver.cpp, line 840]
Event: 166.552 Thread 0x000001ee5014afd0 Exception <a 'java/lang/IncompatibleClassChangeError'{0x00000000d56c4fd0}: Found class java.lang.Object, but interface was expected> (0x00000000d56c4fd0)
thrown [s\src\hotspot\share\interpreter\linkResolver.cpp, line 840]
Event: 179.109 Thread 0x000001ee5014afd0 Exception <a 'java/lang/IncompatibleClassChangeError'{0x00000000d56c35c0}: Found class java.lang.Object, but interface was expected> (0x00000000d56c35c0)
thrown [s\src\hotspot\share\interpreter\linkResolver.cpp, line 840]
Event: 179.111 Thread 0x000001ee5014b660 Exception <a 'java/lang/NoSuchMethodError'{0x00000000d56f7b30}: 'java.lang.Object java.lang.invoke.DirectMethodHandle$Holder.invokeSpecial(java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, int, java.lang.Object, java.lang.Object)'> (0x00000000d56f7b30)
thrown [s\src\hotspot\share\interpreter\linkResolver.cpp, line 773]
ZGC Phase Switch (0 events):
No events
VM Operations (20 events):
Event: 1262.668 Executing non-safepoint VM operation: HandshakeAllThreads (HandshakeForDeflation)
Event: 1262.669 Executing non-safepoint VM operation: HandshakeAllThreads (HandshakeForDeflation) done
Event: 1262.669 Executing non-safepoint VM operation: RendezvousGCThreads
Event: 1262.669 Executing non-safepoint VM operation: RendezvousGCThreads done
Event: 1322.809 Executing non-safepoint VM operation: HandshakeAllThreads (HandshakeForDeflation)
Event: 1322.809 Executing non-safepoint VM operation: HandshakeAllThreads (HandshakeForDeflation) done
Event: 1322.809 Executing non-safepoint VM operation: RendezvousGCThreads
Event: 1322.809 Executing non-safepoint VM operation: RendezvousGCThreads done
Event: 1563.007 Executing non-safepoint VM operation: HandshakeAllThreads (HandshakeForDeflation)
Event: 1563.007 Executing non-safepoint VM operation: HandshakeAllThreads (HandshakeForDeflation) done
Event: 1563.007 Executing non-safepoint VM operation: RendezvousGCThreads
Event: 1563.007 Executing non-safepoint VM operation: RendezvousGCThreads done
Event: 1923.783 Executing non-safepoint VM operation: HandshakeAllThreads (HandshakeForDeflation)
Event: 1923.783 Executing non-safepoint VM operation: HandshakeAllThreads (HandshakeForDeflation) done
Event: 1923.783 Executing non-safepoint VM operation: RendezvousGCThreads
Event: 1923.783 Executing non-safepoint VM operation: RendezvousGCThreads done
Event: 1983.919 Executing non-safepoint VM operation: HandshakeAllThreads (HandshakeForDeflation)
Event: 1983.919 Executing non-safepoint VM operation: HandshakeAllThreads (HandshakeForDeflation) done
Event: 1983.919 Executing non-safepoint VM operation: RendezvousGCThreads
Event: 1983.919 Executing non-safepoint VM operation: RendezvousGCThreads done
Memory protections (0 events):
No events
Nmethod flushes (20 events):
Event: 17.648 Thread 0x000001ee6d05eb10 flushing osr nmethod 0x000001ee70afc610
Event: 17.648 Thread 0x000001ee6d05eb10 flushing nmethod 0x000001ee70b18890
Event: 17.648 Thread 0x000001ee6d05eb10 flushing nmethod 0x000001ee70b1eb10
Event: 17.648 Thread 0x000001ee6d05eb10 flushing nmethod 0x000001ee70b29b90
Event: 17.648 Thread 0x000001ee6d05eb10 flushing nmethod 0x000001ee70b3ae90
Event: 17.648 Thread 0x000001ee6d05eb10 flushing nmethod 0x000001ee70b46910
Event: 17.648 Thread 0x000001ee6d05eb10 flushing nmethod 0x000001ee70b47290
Event: 17.648 Thread 0x000001ee6d05eb10 flushing nmethod 0x000001ee70b47a90
Event: 17.648 Thread 0x000001ee6d05eb10 flushing nmethod 0x000001ee70b48a90
Event: 17.648 Thread 0x000001ee6d05eb10 flushing nmethod 0x000001ee70b4e310
Event: 17.648 Thread 0x000001ee6d05eb10 flushing nmethod 0x000001ee70b6db10
Event: 17.648 Thread 0x000001ee6d05eb10 flushing nmethod 0x000001ee70b6e110
Event: 17.648 Thread 0x000001ee6d05eb10 flushing nmethod 0x000001ee70b6e990
Event: 17.648 Thread 0x000001ee6d05eb10 flushing nmethod 0x000001ee70b6ed10
Event: 17.648 Thread 0x000001ee6d05eb10 flushing nmethod 0x000001ee70b70790
Event: 17.648 Thread 0x000001ee6d05eb10 flushing nmethod 0x000001ee70b7bf10
Event: 17.648 Thread 0x000001ee6d05eb10 flushing nmethod 0x000001ee70b82390
Event: 17.648 Thread 0x000001ee6d05eb10 flushing nmethod 0x000001ee70bb7910
Event: 17.648 Thread 0x000001ee6d05eb10 flushing nmethod 0x000001ee70bbb310
Event: 17.648 Thread 0x000001ee6d05eb10 flushing osr nmethod 0x000001ee70bfd090
Events (20 events):
Event: 169.390 Thread 0x000001ee45f72a70 Thread added: 0x000001ee4e200af0
Event: 169.391 Thread 0x000001ee45f72a70 Thread added: 0x000001ee4e2011c0
Event: 173.598 Thread 0x000001ee4e2011c0 Thread exited: 0x000001ee4e2011c0
Event: 173.598 Thread 0x000001ee4e200af0 Thread exited: 0x000001ee4e200af0
Event: 178.612 Thread 0x000001ee4e201890 Thread exited: 0x000001ee4e201890
Event: 178.612 Thread 0x000001ee4e203aa0 Thread exited: 0x000001ee4e203aa0
Event: 178.612 Thread 0x000001ee4e200420 Thread exited: 0x000001ee4e200420
Event: 243.150 Thread 0x000001ee5014b660 Thread exited: 0x000001ee5014b660
Event: 303.164 Thread 0x000001ee50150bb0 Thread exited: 0x000001ee50150bb0
Event: 363.330 Thread 0x000001ee50150520 Thread exited: 0x000001ee50150520
Event: 423.343 Thread 0x000001ee501316e0 Thread exited: 0x000001ee501316e0
Event: 483.410 Thread 0x000001ee5014fe90 Thread exited: 0x000001ee5014fe90
Event: 543.414 Thread 0x000001ee5014f170 Thread exited: 0x000001ee5014f170
Event: 603.433 Thread 0x000001ee50130330 Thread exited: 0x000001ee50130330
Event: 663.442 Thread 0x000001ee5014f800 Thread exited: 0x000001ee5014f800
Event: 723.450 Thread 0x000001ee50131d70 Thread exited: 0x000001ee50131d70
Event: 783.459 Thread 0x000001ee501518d0 Thread exited: 0x000001ee501518d0
Event: 843.465 Thread 0x000001ee5012ef80 Thread exited: 0x000001ee5012ef80
Event: 903.467 Thread 0x000001ee5012fca0 Thread exited: 0x000001ee5012fca0
Event: 963.483 Thread 0x000001ee5014eae0 Thread exited: 0x000001ee5014eae0
Dynamic libraries:
0x00007ff617d60000 - 0x00007ff617d6e000 c:\Users\Evan\.vscode\extensions\redhat.java-1.54.0-win32-x64\jre\21.0.10-win32-x86_64\bin\java.exe
0x00007fff5cb20000 - 0x00007fff5cd87000 C:\WINDOWS\SYSTEM32\ntdll.dll
0x00007fff5b530000 - 0x00007fff5b5f9000 C:\WINDOWS\System32\KERNEL32.DLL
0x00007fff59fb0000 - 0x00007fff5a39f000 C:\WINDOWS\System32\KERNELBASE.dll
0x00007fff59c70000 - 0x00007fff59dbb000 C:\WINDOWS\System32\ucrtbase.dll
0x00007fff33740000 - 0x00007fff33758000 c:\Users\Evan\.vscode\extensions\redhat.java-1.54.0-win32-x64\jre\21.0.10-win32-x86_64\bin\jli.dll
0x00007fff33640000 - 0x00007fff3365e000 c:\Users\Evan\.vscode\extensions\redhat.java-1.54.0-win32-x64\jre\21.0.10-win32-x86_64\bin\VCRUNTIME140.dll
0x00007fff5a940000 - 0x00007fff5ab05000 C:\WINDOWS\System32\USER32.dll
0x00007fff5a530000 - 0x00007fff5a557000 C:\WINDOWS\System32\win32u.dll
0x00007fff2d190000 - 0x00007fff2d423000 C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.26100.7309_none_3e05feeae336a044\COMCTL32.dll
0x00007fff5b9d0000 - 0x00007fff5b9fb000 C:\WINDOWS\System32\GDI32.dll
0x00007fff5c890000 - 0x00007fff5c939000 C:\WINDOWS\System32\msvcrt.dll
0x00007fff5a620000 - 0x00007fff5a74c000 C:\WINDOWS\System32\gdi32full.dll
0x00007fff59f00000 - 0x00007fff59fa3000 C:\WINDOWS\System32\msvcp_win.dll
0x00007fff5b680000 - 0x00007fff5b6b1000 C:\WINDOWS\System32\IMM32.DLL
0x00007fff39030000 - 0x00007fff3903c000 c:\Users\Evan\.vscode\extensions\redhat.java-1.54.0-win32-x64\jre\21.0.10-win32-x86_64\bin\vcruntime140_1.dll
0x00007ffee72d0000 - 0x00007ffee735d000 c:\Users\Evan\.vscode\extensions\redhat.java-1.54.0-win32-x64\jre\21.0.10-win32-x86_64\bin\msvcp140.dll
0x00007ffe8fcc0000 - 0x00007ffe90a61000 c:\Users\Evan\.vscode\extensions\redhat.java-1.54.0-win32-x64\jre\21.0.10-win32-x86_64\bin\server\jvm.dll
0x00007fff5b8b0000 - 0x00007fff5b964000 C:\WINDOWS\System32\ADVAPI32.dll
0x00007fff5c750000 - 0x00007fff5c7f6000 C:\WINDOWS\System32\sechost.dll
0x00007fff5b400000 - 0x00007fff5b518000 C:\WINDOWS\System32\RPCRT4.dll
0x00007fff5b600000 - 0x00007fff5b674000 C:\WINDOWS\System32\WS2_32.dll
0x00007fff59160000 - 0x00007fff591be000 C:\WINDOWS\SYSTEM32\POWRPROF.dll
0x00007fff4e900000 - 0x00007fff4e935000 C:\WINDOWS\SYSTEM32\WINMM.dll
0x00007fff48e70000 - 0x00007fff48e7b000 C:\WINDOWS\SYSTEM32\VERSION.dll
0x00007fff59140000 - 0x00007fff59154000 C:\WINDOWS\SYSTEM32\UMPDC.dll
0x00007fff58a20000 - 0x00007fff58a3b000 C:\WINDOWS\SYSTEM32\kernel.appcore.dll
0x00007fff35640000 - 0x00007fff3564a000 c:\Users\Evan\.vscode\extensions\redhat.java-1.54.0-win32-x64\jre\21.0.10-win32-x86_64\bin\jimage.dll
0x00007fff57330000 - 0x00007fff57572000 C:\WINDOWS\SYSTEM32\DBGHELP.DLL
0x00007fff5bd20000 - 0x00007fff5c0a6000 C:\WINDOWS\System32\combase.dll
0x00007fff5bb00000 - 0x00007fff5bbd6000 C:\WINDOWS\System32\OLEAUT32.dll
0x00007fff47240000 - 0x00007fff4727c000 C:\WINDOWS\SYSTEM32\dbgcore.DLL
0x00007fff59e50000 - 0x00007fff59ef5000 C:\WINDOWS\System32\bcryptPrimitives.dll
0x00007fff33280000 - 0x00007fff3328f000 c:\Users\Evan\.vscode\extensions\redhat.java-1.54.0-win32-x64\jre\21.0.10-win32-x86_64\bin\instrument.dll
0x00007fff33260000 - 0x00007fff33280000 c:\Users\Evan\.vscode\extensions\redhat.java-1.54.0-win32-x64\jre\21.0.10-win32-x86_64\bin\java.dll
0x00007fff5ac80000 - 0x00007fff5b3d3000 C:\WINDOWS\System32\SHELL32.dll
0x00007fff5a750000 - 0x00007fff5a8ba000 C:\WINDOWS\System32\wintypes.dll
0x00007fff57850000 - 0x00007fff580ae000 C:\WINDOWS\SYSTEM32\windows.storage.dll
0x00007fff5c650000 - 0x00007fff5c745000 C:\WINDOWS\System32\SHCORE.dll
0x00007fff5c540000 - 0x00007fff5c5a6000 C:\WINDOWS\System32\shlwapi.dll
0x00007fff59b90000 - 0x00007fff59bb9000 C:\WINDOWS\SYSTEM32\profapi.dll
0x00007fff32410000 - 0x00007fff32428000 c:\Users\Evan\.vscode\extensions\redhat.java-1.54.0-win32-x64\jre\21.0.10-win32-x86_64\bin\zip.dll
0x00007fff32220000 - 0x00007fff32230000 C:\Users\Evan\.vscode\extensions\redhat.java-1.54.0-win32-x64\jre\21.0.10-win32-x86_64\bin\net.dll
0x00007fff51ca0000 - 0x00007fff51dc8000 C:\WINDOWS\SYSTEM32\WINHTTP.dll
0x00007fff59000000 - 0x00007fff5906b000 C:\WINDOWS\system32\mswsock.dll
0x00007fff2fc90000 - 0x00007fff2fca6000 C:\Users\Evan\.vscode\extensions\redhat.java-1.54.0-win32-x64\jre\21.0.10-win32-x86_64\bin\nio.dll
0x00007fff32210000 - 0x00007fff32220000 c:\Users\Evan\.vscode\extensions\redhat.java-1.54.0-win32-x64\jre\21.0.10-win32-x86_64\bin\verify.dll
0x00007ffee4950000 - 0x00007ffee4995000 C:\Users\Evan\AppData\Roaming\Code\User\globalStorage\redhat.java\1.54.0\config_win\org.eclipse.equinox.launcher\org.eclipse.equinox.launcher.win32.win32.x86_64_1.3.0.v20260203-2149\eclipse_11919.dll
0x00007fff5c940000 - 0x00007fff5cad7000 C:\WINDOWS\System32\ole32.dll
0x00007fff59370000 - 0x00007fff5938b000 C:\WINDOWS\SYSTEM32\CRYPTSP.dll
0x00007fff58980000 - 0x00007fff589ba000 C:\WINDOWS\system32\rsaenh.dll
0x00007fff590d0000 - 0x00007fff590fb000 C:\WINDOWS\SYSTEM32\USERENV.dll
0x00007fff59b60000 - 0x00007fff59b8a000 C:\WINDOWS\SYSTEM32\bcrypt.dll
0x00007fff59390000 - 0x00007fff5939c000 C:\WINDOWS\SYSTEM32\CRYPTBASE.dll
0x00007fff584a0000 - 0x00007fff584d4000 C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL
0x00007fff5b8a0000 - 0x00007fff5b8aa000 C:\WINDOWS\System32\NSI.dll
0x00007ffed9210000 - 0x00007ffed9259000 C:\Users\Evan\AppData\Local\Temp\jna-2172094\jna6651005057382125844.dll
0x00007fff5c600000 - 0x00007fff5c608000 C:\WINDOWS\System32\PSAPI.DLL
0x00007fff51e80000 - 0x00007fff51e9e000 C:\WINDOWS\SYSTEM32\dhcpcsvc6.DLL
0x00007fff51e50000 - 0x00007fff51e73000 C:\WINDOWS\SYSTEM32\dhcpcsvc.DLL
0x00007fff2fc20000 - 0x00007fff2fc2e000 C:\Users\Evan\.vscode\extensions\redhat.java-1.54.0-win32-x64\jre\21.0.10-win32-x86_64\bin\sunmscapi.dll
0x00007fff5a3b0000 - 0x00007fff5a527000 C:\WINDOWS\System32\CRYPT32.dll
0x00007fff59590000 - 0x00007fff595c0000 C:\WINDOWS\SYSTEM32\ncrypt.dll
0x00007fff59540000 - 0x00007fff5957f000 C:\WINDOWS\SYSTEM32\NTASN1.dll
0x00007fff2e1a0000 - 0x00007fff2e1a9000 C:\Users\Evan\.vscode\extensions\redhat.java-1.54.0-win32-x64\jre\21.0.10-win32-x86_64\bin\extnet.dll
JVMTI agents:
c:\Users\Evan\.vscode\extensions\redhat.java-1.54.0-win32-x64\lombok\lombok-1.18.39-4050.jar path:c:\Users\Evan\.vscode\extensions\redhat.java-1.54.0-win32-x64\jre\21.0.10-win32-x86_64\bin\instrument.dll, loaded, initialized, instrumentlib options:none
dbghelp: loaded successfully - version: 4.0.5 - missing functions: none
symbol engine: initialized successfully - sym options: 0x614 - pdb path: .;c:\Users\Evan\.vscode\extensions\redhat.java-1.54.0-win32-x64\jre\21.0.10-win32-x86_64\bin;C:\WINDOWS\SYSTEM32;C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.26100.7309_none_3e05feeae336a044;c:\Users\Evan\.vscode\extensions\redhat.java-1.54.0-win32-x64\jre\21.0.10-win32-x86_64\bin\server;C:\Users\Evan\AppData\Roaming\Code\User\globalStorage\redhat.java\1.54.0\config_win\org.eclipse.equinox.launcher\org.eclipse.equinox.launcher.win32.win32.x86_64_1.3.0.v20260203-2149;C:\Users\Evan\AppData\Local\Temp\jna-2172094
VM Arguments:
jvm_args: --add-modules=ALL-SYSTEM --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/sun.nio.fs=ALL-UNNAMED -Declipse.application=org.eclipse.jdt.ls.core.id1 -Dosgi.bundles.defaultStartLevel=4 -Declipse.product=org.eclipse.jdt.ls.core.product -Djava.import.generatesMetadataFilesAtProjectRoot=false -DDetectVMInstallationsJob.disabled=true -Dfile.encoding=utf8 -XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx2G -Xms100m -Xlog:disable -javaagent:c:\Users\Evan\.vscode\extensions\redhat.java-1.54.0-win32-x64\lombok\lombok-1.18.39-4050.jar -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=c:\Users\Evan\AppData\Roaming\Code\User\workspaceStorage\609d357b4a62589867dde8a22b91e9ee\redhat.java -Daether.dependencyCollector.impl=bf
java_command: c:\Users\Evan\.vscode\extensions\redhat.java-1.54.0-win32-x64\server\plugins\org.eclipse.equinox.launcher_1.7.100.v20251111-0406.jar -configuration c:\Users\Evan\AppData\Roaming\Code\User\globalStorage\redhat.java\1.54.0\config_win -data c:\Users\Evan\AppData\Roaming\Code\User\workspaceStorage\609d357b4a62589867dde8a22b91e9ee\redhat.java\jdt_ws --pipe=\\.\pipe\lsp-c3923ce2cfc611e32e6dd1d393bf40eb-sock
java_class_path (initial): c:\Users\Evan\.vscode\extensions\redhat.java-1.54.0-win32-x64\server\plugins\org.eclipse.equinox.launcher_1.7.100.v20251111-0406.jar
Launcher Type: SUN_STANDARD
[Global flags]
uintx AdaptiveSizePolicyWeight = 90 {product} {command line}
intx CICompilerCount = 12 {product} {ergonomic}
uintx GCTimeRatio = 4 {product} {command line}
bool HeapDumpOnOutOfMemoryError = true {manageable} {command line}
ccstr HeapDumpPath = c:\Users\Evan\AppData\Roaming\Code\User\workspaceStorage\609d357b4a62589867dde8a22b91e9ee\redhat.java {manageable} {command line}
size_t InitialHeapSize = 104857600 {product} {command line}
size_t MaxHeapSize = 2147483648 {product} {command line}
size_t MaxNewSize = 715653120 {product} {ergonomic}
size_t MinHeapDeltaBytes = 524288 {product} {ergonomic}
size_t MinHeapSize = 104857600 {product} {command line}
size_t NewSize = 34603008 {product} {ergonomic}
uintx NonNMethodCodeHeapSize = 7602480 {pd product} {ergonomic}
uintx NonProfiledCodeHeapSize = 122027880 {pd product} {ergonomic}
size_t OldSize = 70254592 {product} {ergonomic}
uintx ProfiledCodeHeapSize = 122027880 {pd product} {ergonomic}
uintx ReservedCodeCacheSize = 251658240 {pd product} {ergonomic}
bool SegmentedCodeCache = true {product} {ergonomic}
size_t SoftMaxHeapSize = 2147483648 {manageable} {ergonomic}
bool UseCompressedOops = true {product lp64_product} {ergonomic}
bool UseLargePagesIndividualAllocation = false {pd product} {ergonomic}
bool UseParallelGC = true {product} {command line}
Logging:
Log output configuration:
#0: stdout all=off uptime,level,tags foldmultilines=false
#1: stderr all=off uptime,level,tags foldmultilines=false
Release file:
JAVA_VERSION="21.0.10"
MODULES="java.base java.compiler java.datatransfer java.xml java.prefs java.desktop java.instrument java.logging java.management java.security.sasl java.naming java.rmi java.management.rmi java.net.http java.scripting java.security.jgss java.transaction.xa java.sql java.sql.rowset java.xml.crypto java.se java.smartcardio jdk.accessibility jdk.internal.jvmstat jdk.attach jdk.charsets jdk.internal.opt jdk.zipfs jdk.compiler jdk.crypto.ec jdk.crypto.cryptoki jdk.crypto.mscapi jdk.dynalink jdk.internal.ed jdk.editpad jdk.hotspot.agent jdk.httpserver jdk.internal.le jdk.internal.vm.ci jdk.internal.vm.compiler jdk.internal.vm.compiler.management jdk.jartool jdk.javadoc jdk.jcmd jdk.management jdk.management.agent jdk.jconsole jdk.jdeps jdk.jdwp.agent jdk.jdi jdk.jfr jdk.jshell jdk.jsobject jdk.jstatd jdk.localedata jdk.management.jfr jdk.naming.dns jdk.naming.rmi jdk.net jdk.nio.mapmode jdk.random jdk.sctp jdk.security.auth jdk.security.jgss jdk.unsupported jdk.unsupported.desktop jdk.xml.dom"
Environment Variables:
JAVA_HOME=C:\Program Files\Eclipse Adoptium\jdk-21.0.8.9-hotspot
PATH=C:\Program Files\Eclipse Adoptium\jdk-21.0.8.9-hotspot\bin;C:\Program Files\Eclipse Adoptium\jdk-8.0.462.8-hotspot\bin;C:\Program Files\Eclipse Adoptium\jdk-17.0.15.6-hotspot\bin;C:\Program Files\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Common Files\Oracle\Java\java8path;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;D:\Tools\Bitvise;D:\Tools\Git\Git\cmd;D:\Tools\Node\;D:\Tools\Sqlite3\;C:\Program Files\NVIDIA Corporation\NVIDIA App\NvDLISR;C:\mingw64\bin;;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;D:\Tools & IDE\AWS CLI\;C:\Program Files\Go\bin;C:\Program Files\dotnet\;C:\Users\Evan\AppData\Local\Programs\Python\Python313\Scripts\;C:\Users\Evan\AppData\Local\Programs\Python\Python313\;C:\Users\Evan\AppData\Local\Programs\Python\Launcher\;C:\Users\Evan\AppData\Local\Microsoft\WindowsApps;D:\Tools\VSCode\Microsoft VS Code\bin;C:\Users\Evan\AppData\Local\GitHubDesktop\bin;C:\Users\Evan\AppData\Roaming\npm;C:\Users\Evan\go\bin
USERNAME=Evan
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 186 Stepping 2, GenuineIntel
TMP=C:\Users\Evan\AppData\Local\Temp
TEMP=C:\Users\Evan\AppData\Local\Temp
Periodic native trim disabled
--------------- S Y S T E M ---------------
OS:
Windows 11 , 64 bit Build 26100 (10.0.26100.7623)
OS uptime: 0 days 23:11 hours
Hyper-V role detected
CPU: total 16 (initial active 16) (8 cores per cpu, 2 threads per core) family 6 model 186 stepping 2 microcode 0x410e, cx8, cmov, fxsr, ht, mmx, 3dnowpref, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, lzcnt, tsc, tscinvbit, avx, avx2, aes, erms, clmul, bmi1, bmi2, adx, sha, fma, vzeroupper, clflush, clflushopt, clwb, hv, serialize, rdtscp, rdpid, fsrm, f16c, cet_ibt, cet_ss
Processor Information for the first 16 processors :
Max Mhz: 2400, Current Mhz: 2400, Mhz Limit: 2400
Memory: 4k page, system-wide physical 16088M (896M free)
TotalPageFile size 32838M (AvailPageFile size 228M)
current process WorkingSet (physical memory assigned to process): 12M, peak: 426M
current process commit charge ("private bytes"): 464M, peak: 512M
vm_info: OpenJDK 64-Bit Server VM (21.0.10+7-LTS) for windows-amd64 JRE (21.0.10+7-LTS), built on 2026-01-20T00:00:00Z by "admin" with MS VC++ 17.12 (VS2022)
END.

View File

@ -1,78 +1,75 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>4.0.5</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>com.walkguide</groupId>
<artifactId>demo</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name/>
<description/>
<url/>
<licenses>
<license/>
</licenses>
<developers>
<developer/>
</developers>
<scm>
<connection/>
<developerConnection/>
<tag/>
<url/>
</scm>
<properties>
<java.version>21</java.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-h2console</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency>
<dependency>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.2.5</version>
<relativePath/>
</parent>
<groupId>com.walkguide</groupId>
<artifactId>demo</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>walkguide</name>
<description>WalkGuide Backend - Final Exam</description>
<properties>
<java.version>21</java.version>
</properties>
<dependencies>
<!-- CORE SPRING BOOT -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<!-- POSTGRESQL -->
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-webmvc-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<!-- FLYWAY -->
<dependency>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-core</artifactId>
<!-- versi dikelola Spring Boot parent -->
</dependency>
<dependency>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-database-postgresql</artifactId>
<version>10.10.0</version> <!-- tidak ada di Spring Boot BOM, harus explicit -->
</dependency>
<!-- LOMBOK -->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
</dependency>
<!-- JWT -->
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-api</artifactId>
<version>0.11.5</version>
@ -89,69 +86,95 @@
<version>0.11.5</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
</dependency>
<!-- SWAGGER -->
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
<version>2.3.0</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<excludes>
<exclude>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<executions>
<execution>
<id>default-compile</id>
<phase>compile</phase>
<goals>
<goal>compile</goal>
</goals>
<configuration>
<annotationProcessorPaths>
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</path>
</annotationProcessorPaths>
</configuration>
</execution>
<execution>
<id>default-testCompile</id>
<phase>test-compile</phase>
<goals>
<goal>testCompile</goal>
</goals>
<configuration>
<annotationProcessorPaths>
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</path>
</annotationProcessorPaths>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<!-- TESTING -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-test</artifactId>
<scope>test</scope>
</dependency>
</project>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<excludes>
<exclude>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<executions>
<execution>
<id>default-compile</id>
<phase>compile</phase>
<goals><goal>compile</goal></goals>
<configuration>
<annotationProcessorPaths>
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</path>
</annotationProcessorPaths>
</configuration>
</execution>
<execution>
<id>default-testCompile</id>
<phase>test-compile</phase>
<goals><goal>testCompile</goal></goals>
<configuration>
<annotationProcessorPaths>
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</path>
</annotationProcessorPaths>
</configuration>
</execution>
</executions>
</plugin>
<!-- JACOCO - Code Coverage >=70% -->
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.11</version>
<executions>
<execution>
<goals><goal>prepare-agent</goal></goals>
</execution>
<execution>
<id>report</id>
<phase>test</phase>
<goals><goal>report</goal></goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

View File

@ -1,48 +1,48 @@
package com.walkguide.config;
import org.springframework.boot.CommandLineRunner;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
import org.springframework.security.crypto.password.PasswordEncoder;
import org.springframework.stereotype.Component;
import com.walkguide.entity.User;
import com.walkguide.repository.UserRepository;
import lombok.RequiredArgsConstructor;
import org.springframework.boot.CommandLineRunner;
import org.springframework.security.crypto.password.PasswordEncoder;
import org.springframework.stereotype.Component;
@Component
@RequiredArgsConstructor
public class DataSeeder implements CommandLineRunner {
private final UserRepository userRepository;
private final PasswordEncoder passwordEncoder;
@Override
public void run(String... args) throws Exception {
// Mesin enkripsi password
PasswordEncoder passwordEncoder = new BCryptPasswordEncoder();
// Ngecek kalau tabel users kosong, baru diisi
if (userRepository.count() == 0) {
// 1. Bikin akun Guardian (Pendamping)
// 1. Buat Guardian (tanpa connected_to dulu)
User guardian = User.builder()
.email("guardian@walkguide.com")
.password(passwordEncoder.encode("guardian123")) // Password barunya
.role("ROLE_GUARDIAN") // Role udah diganti
.password(passwordEncoder.encode("guardian123"))
.role("ROLE_GUARDIAN")
.build();
guardian = userRepository.save(guardian);
// 2. Bikin akun User (Tunanetra)
// 2. Buat User Tunanetra, langsung sambungkan ke Guardian
User user = User.builder()
.email("user@walkguide.com")
.password(passwordEncoder.encode("user123"))
.role("ROLE_USER")
.connectedTo(guardian)
.build();
user = userRepository.save(user);
// Simpan ke database
// 3. Update Guardian -> sambungkan balik ke User yang dijaganya
guardian.setConnectedTo(user);
userRepository.save(guardian);
userRepository.save(user);
System.out.println("✅ Data Seeder berhasil: Akun Guardian dan User telah masuk ke Database!");
System.out.println("DataSeeder: Guardian (" + guardian.getId()
+ ") <-> User (" + user.getId() + ") berhasil dihubungkan!");
} else {
System.out.println("DataSeeder: Database sudah ada data, skip seeding.");
}
}
}
}

View File

@ -1,7 +1,12 @@
package com.walkguide.controller;
import java.util.Map;
import com.walkguide.dto.ApiResponse;
import com.walkguide.entity.User;
import com.walkguide.repository.UserRepository;
import com.walkguide.security.JwtUtil;
import com.walkguide.service.MockDataService;
import jakarta.servlet.http.HttpServletRequest;
import lombok.RequiredArgsConstructor;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PutMapping;
@ -9,10 +14,7 @@ import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.walkguide.dto.ApiResponse;
import com.walkguide.service.MockDataService;
import lombok.RequiredArgsConstructor;
import java.util.Map;
@RestController
@RequestMapping("/api/guardian")
@ -20,24 +22,56 @@ import lombok.RequiredArgsConstructor;
public class GuardianController {
private final MockDataService mockDataService;
private final UserRepository userRepository;
private final JwtUtil jwtUtil;
// 4. Ambil Status User
// 4. Ambil Status User yang dimonitor
@GetMapping("/user-status")
public ResponseEntity<ApiResponse<Map<String, Object>>> getUserStatus() {
return ResponseEntity.ok(new ApiResponse<>(true, mockDataService.getUserStatus(), "Data status user berhasil diambil"));
return ResponseEntity.ok(new ApiResponse<>(true,
mockDataService.getUserStatus(),
"Data status user berhasil diambil"));
}
// 5. Setting Hardware Shortcut
@PutMapping("/settings/shortcuts")
public ResponseEntity<ApiResponse<Map<String, Object>>> updateShortcuts(@RequestBody Map<String, Object> request) {
public ResponseEntity<ApiResponse<Map<String, Object>>> updateShortcuts(
@RequestBody Map<String, Object> request) {
Map<String, Object> updated = mockDataService.updateShortcuts(request);
return ResponseEntity.ok(new ApiResponse<>(true, updated, "Shortcut berhasil diperbarui"));
}
// 6. Setting Sensitivitas AI
@PutMapping("/settings/ai")
public ResponseEntity<ApiResponse<Map<String, Object>>> updateAiSettings(@RequestBody Map<String, Object> request) {
public ResponseEntity<ApiResponse<Map<String, Object>>> updateAiSettings(
@RequestBody Map<String, Object> request) {
Map<String, Object> updated = mockDataService.updateAiSettings(request);
return ResponseEntity.ok(new ApiResponse<>(true, updated, "Setting AI berhasil diperbarui"));
}
}
// 7. Lihat User yang terhubung ke Guardian ini
@GetMapping("/my-user")
public ResponseEntity<ApiResponse<Map<String, Object>>> getMyConnectedUser(
HttpServletRequest request) {
String token = request.getHeader("Authorization").substring(7);
String email = jwtUtil.extractUsername(token);
User guardian = userRepository.findByEmail(email)
.orElseThrow(() -> new RuntimeException("Guardian tidak ditemukan"));
User connectedUser = guardian.getConnectedTo();
if (connectedUser == null) {
return ResponseEntity.ok(new ApiResponse<>(true,
Map.of("message", "Belum ada user yang terhubung"),
"Tidak ada koneksi"));
}
Map<String, Object> data = Map.of(
"userId", connectedUser.getId(),
"userEmail", connectedUser.getEmail(),
"connectedSince", connectedUser.getCreatedAt().toString()
);
return ResponseEntity.ok(new ApiResponse<>(true, data,
"Data user yang dipantau berhasil diambil"));
}
}

View File

@ -1,24 +1,60 @@
package com.walkguide.controller;
import java.util.Map;
import com.walkguide.dto.ApiResponse;
import com.walkguide.entity.User;
import com.walkguide.repository.UserRepository;
import com.walkguide.security.JwtUtil;
import jakarta.servlet.http.HttpServletRequest;
import lombok.RequiredArgsConstructor;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.walkguide.dto.ApiResponse;
import java.util.Map;
@RestController
@RequestMapping("/api/user")
@RequiredArgsConstructor
public class UserController {
// 7. Sinyal Darurat (Voice Command)
private final UserRepository userRepository;
private final JwtUtil jwtUtil;
// Sinyal Darurat (Voice Command)
@PostMapping("/emergency")
public ResponseEntity<ApiResponse<String>> triggerEmergency(@RequestBody Map<String, Object> request) {
// Simulasi mengirim notif ke Guardian
public ResponseEntity<ApiResponse<String>> triggerEmergency(
@RequestBody Map<String, Object> request) {
String triggerType = (String) request.get("triggerType");
return ResponseEntity.ok(new ApiResponse<>(true, "Darurat Terkirim", "Guardian telah diberi peringatan via: " + triggerType));
return ResponseEntity.ok(new ApiResponse<>(true,
"Darurat Terkirim",
"Guardian telah diberi peringatan via: " + triggerType));
}
}
// Lihat Guardian yang terhubung ke User ini
@GetMapping("/my-guardian")
public ResponseEntity<ApiResponse<Map<String, Object>>> getMyGuardian(
HttpServletRequest request) {
String token = request.getHeader("Authorization").substring(7);
String email = jwtUtil.extractUsername(token);
User user = userRepository.findByEmail(email)
.orElseThrow(() -> new RuntimeException("User tidak ditemukan"));
User guardian = user.getConnectedTo();
if (guardian == null) {
return ResponseEntity.ok(new ApiResponse<>(true,
Map.of("message", "Belum ada guardian yang terhubung"),
"Tidak ada koneksi"));
}
Map<String, Object> data = Map.of(
"guardianId", guardian.getId(),
"guardianEmail", guardian.getEmail()
);
return ResponseEntity.ok(new ApiResponse<>(true, data,
"Data guardian berhasil diambil"));
}
}

View File

@ -2,15 +2,22 @@ package com.walkguide.entity;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.FetchType;
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.GenerationType;
import jakarta.persistence.Id;
import jakarta.persistence.JoinColumn;
import jakarta.persistence.ManyToOne;
import jakarta.persistence.PrePersist;
import jakarta.persistence.PreUpdate;
import jakarta.persistence.Table;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.time.Instant;
@Entity
@Table(name = "users")
@Data
@ -18,20 +25,39 @@ import lombok.NoArgsConstructor;
@NoArgsConstructor
@AllArgsConstructor
public class User {
// Ini otomatis bikin ID angka urut (1, 2, 3, dst)
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
// Email gak boleh kosong dan gak boleh ada yang kembar
@Column(unique = true, nullable = false)
private String email;
@Column(nullable = false)
private String password;
// Buat nandain dia ini ROLE_USER atau ROLE_ADMIN
@Column(nullable = false)
private String role;
}
private String role;
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "connected_to")
private User connectedTo;
@Column(name = "created_at", nullable = false, updatable = false)
private Instant createdAt;
@Column(name = "updated_at", nullable = false)
private Instant updatedAt;
@PrePersist
public void onCreate() {
Instant now = Instant.now();
this.createdAt = now;
this.updatedAt = now;
}
@PreUpdate
public void onUpdate() {
this.updatedAt = Instant.now();
}
}

View File

@ -1,16 +1,21 @@
package com.walkguide.repository;
import com.walkguide.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;
import java.util.Optional;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import com.walkguide.entity.User;
@Repository
public interface UserRepository extends JpaRepository<User, Long> {
// Ini fungsi ajaib Spring Boot. Cuma dari nama fungsinya aja,
// dia udah tau maksudnya "Tolong cariin user di database yang emailnya = X"
Optional<User> findByEmail(String email);
}
@Query("SELECT u FROM User u WHERE u.connectedTo.id = :guardianId AND u.role = 'ROLE_USER'")
Optional<User> findUserByGuardianId(@Param("guardianId") Long guardianId);
@Query("SELECT u FROM User u WHERE u.connectedTo.id = :userId AND u.role = 'ROLE_GUARDIAN'")
Optional<User> findGuardianByUserId(@Param("userId") Long userId);
}

View File

@ -1,17 +1,27 @@
# Server Port
# ===== SERVER =====
server.port=8080
# === KONEKSI H2 VIRTUAL (GAK PAKE PASSWORD) ===
spring.datasource.url=jdbc:h2:mem:walkguidedb
spring.datasource.driverClassName=org.h2.Driver
spring.datasource.username=sa
spring.datasource.password=
spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
# ===== POSTGRESQL CONNECTION =====
spring.datasource.url=jdbc:postgresql://202.46.28.160:2002/uas_5803024001
spring.datasource.username=5803024001
spring.datasource.password=pw5803024001
spring.datasource.driver-class-name=org.postgresql.Driver
# Biar Spring Boot otomatis bikin tabel
spring.jpa.hibernate.ddl-auto=update
# ===== JPA / HIBERNATE =====
spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect
spring.jpa.hibernate.ddl-auto=validate
spring.jpa.show-sql=true
spring.jpa.properties.hibernate.format_sql=true
# JWT Configuration
jwt.secret=WalkGuideSecretKeyYangSangatPanjangMinimal256BitUntukKeamananWalkGuide
jwt.expiration=86400000
# ===== FLYWAY =====
spring.flyway.enabled=true
spring.flyway.locations=classpath:db/migration
spring.flyway.baseline-on-migrate=true
# ===== JWT =====
jwt.secret=404E635266556A586E3272357538782F413F4428472B4B6250645367566B5970
jwt.expiration=86400000
# ===== SWAGGER =====
springdoc.swagger-ui.path=/swagger-ui.html
springdoc.api-docs.path=/v3/api-docs

View File

@ -0,0 +1,15 @@
-- V1__create_users_table.sql
-- Membuat tabel users dengan relasi self-referencing guardian <-> user
CREATE TABLE IF NOT EXISTS users (
id BIGSERIAL PRIMARY KEY,
email VARCHAR(255) NOT NULL UNIQUE,
password VARCHAR(255) NOT NULL,
role VARCHAR(50) NOT NULL,
connected_to BIGINT REFERENCES users(id) ON DELETE SET NULL,
created_at TIMESTAMP NOT NULL DEFAULT NOW(),
updated_at TIMESTAMP NOT NULL DEFAULT NOW()
);
CREATE INDEX IF NOT EXISTS idx_users_email ON users(email);
CREATE INDEX IF NOT EXISTS idx_users_connected_to ON users(connected_to);

View File

@ -0,0 +1,22 @@
-- V2__seed_users.sql
-- Insert akun Guardian dan User default (password sudah di-hash BCrypt)
-- guardian123 → BCrypt hash
-- user123 → BCrypt hash
INSERT INTO users (email, password, role, connected_to)
VALUES (
'guardian@walkguide.com',
'$2a$10$N.zmdr9k7uOCQb376NoUnuTJ8iAt6Z5EHsM8lE9lBOsl7iAt6WKGK', -- guardian123
'ROLE_GUARDIAN',
NULL -- akan di-update setelah user dibuat
)
ON CONFLICT (email) DO NOTHING;
INSERT INTO users (email, password, role, connected_to)
VALUES (
'user@walkguide.com',
'$2a$10$TJ.zmdr9k7uOCQb376NoUnuTJ8iAt6Z5EHsM8lE9lBOsl7iAt6WK', -- user123
'ROLE_USER',
NULL
)
ON CONFLICT (email) DO NOTHING;

View File

@ -0,0 +1,18 @@
-- V2__link_guardian_user.sql
-- Menghubungkan Guardian <-> User setelah DataSeeder Java insert kedua akun
-- Script ini dijalankan SETELAH aplikasi sudah seed data via DataSeeder.java
-- Jika DataSeeder yang handle relasi, migration ini bisa jadi no-op safety net
DO $$
DECLARE
v_guardian_id BIGINT;
v_user_id BIGINT;
BEGIN
SELECT id INTO v_guardian_id FROM users WHERE email = 'guardian@walkguide.com';
SELECT id INTO v_user_id FROM users WHERE email = 'user@walkguide.com';
IF v_guardian_id IS NOT NULL AND v_user_id IS NOT NULL THEN
UPDATE users SET connected_to = v_user_id WHERE id = v_guardian_id;
UPDATE users SET connected_to = v_guardian_id WHERE id = v_user_id;
END IF;
END $$;

View File

@ -1,16 +0,0 @@
# walkguide_app
A new Flutter project.
## Getting Started
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
- [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab)
- [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook)
For help getting started with Flutter development, view the
[online documentation](https://docs.flutter.dev/), which offers tutorials,
samples, guidance on mobile development, and a full API reference.