Got things running

This commit is contained in:
Speiger 2024-07-16 02:14:04 +02:00
parent 0808c672bc
commit cc5267378d
19 changed files with 189 additions and 1045 deletions

View File

@ -30,6 +30,7 @@ task srcJar(type: Jar) {
it.isDirectory() ? it : zipTree(it)
}
}
duplicatesStrategy = DuplicatesStrategy.INCLUDE
}
artifacts {
@ -37,11 +38,17 @@ artifacts {
}
jar {
manifest {
attributes "Main-Class": 'speiger.src.coreengine.NewInputTest'
}
from {
configurations.runtimeClasspath.collect {
it.isDirectory() ? it : zipTree(it)
}
}
exclude('**/*.LIST')
exclude('**/module-info.class')
duplicatesStrategy = DuplicatesStrategy.INCLUDE
}
dependencies {

View File

@ -1,984 +0,0 @@
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffb12dac79d, pid=11788, tid=3764
#
# JRE version: OpenJDK Runtime Environment Temurin-21.0.2+13 (21.0.2+13) (build 21.0.2+13-LTS)
# Java VM: OpenJDK 64-Bit Server VM Temurin-21.0.2+13 (21.0.2+13-LTS, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
# Problematic frame:
# C [lwjgl_opengl.dll+0xc79d]
#
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
# https://github.com/adoptium/adoptium-support/issues
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
--------------- S U M M A R Y ------------
Command Line: -XX:+ShowCodeDetailsInExceptionMessages -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:53183 -javaagent:C:\Users\Speiger\eclipse\java-2024-03\eclipse\configuration\org.eclipse.osgi\251\0\.cp\lib\javaagent-shaded.jar -Dfile.encoding=UTF-8 -Dstdout.encoding=UTF-8 -Dstderr.encoding=UTF-8 speiger.src.coreengine.NewInputTest
Host: AMD Ryzen 9 7900 12-Core Processor , 24 cores, 31G, Windows 10 , 64 bit Build 19041 (10.0.19041.4597)
Time: Sun Jul 14 17:36:15 2024 Mitteleuropäische Sommerzeit elapsed time: 0.313950 seconds (0d 0h 0m 0s)
--------------- T H R E A D ---------------
Current thread (0x000001d409ea15e0): JavaThread "main" [_thread_in_native, id=3764, stack(0x0000002565600000,0x0000002565700000) (1024K)]
Stack: [0x0000002565600000,0x0000002565700000], sp=0x00000025656fef08, free space=1019k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [lwjgl_opengl.dll+0xc79d]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j org.lwjgl.opengl.GL11C.nglGetBooleanv(IJ)V+0
j org.lwjgl.opengl.GL11C.glGetBoolean(I)Z+20
j org.lwjgl.opengl.GL11.glGetBoolean(I)Z+1
j speiger.src.coreengine.rendering.utils.states.GLState.<init>(I)V+3
j speiger.src.coreengine.rendering.utils.GLStateTracker.<init>()V+23
j speiger.src.coreengine.rendering.utils.GLStateTracker$$Lambda+0x000001d43301d7e8.get()Ljava/lang/Object;+4
j java.lang.ThreadLocal$SuppliedThreadLocal.initialValue()Ljava/lang/Object;+4 java.base@21.0.2
j java.lang.ThreadLocal.setInitialValue(Ljava/lang/Thread;)Ljava/lang/Object;+1 java.base@21.0.2
j java.lang.ThreadLocal.get(Ljava/lang/Thread;)Ljava/lang/Object;+31 java.base@21.0.2
j java.lang.ThreadLocal.get()Ljava/lang/Object;+4 java.base@21.0.2
j speiger.src.coreengine.rendering.utils.GLStateTracker.instance()Lspeiger/src/coreengine/rendering/utils/GLStateTracker;+3
j speiger.src.coreengine.rendering.shader.Shader.createAndRegister(Ljava/util/function/Function;)Lspeiger/src/coreengine/rendering/shader/Shader;+9
j speiger.src.coreengine.NewInputTest.<init>()V+52
j speiger.src.coreengine.NewInputTest.main([Ljava/lang/String;)V+4
v ~StubRoutines::call_stub 0x000001d41bd410e7
siginfo: EXCEPTION_ACCESS_VIOLATION (0xc0000005), reading address 0x00000000000002f0
Registers:
RAX=0x000001d4776f4990, RBX=0x000001d47362f488, RCX=0x000000000000809d, RDX=0x000001d4777073e8
RSP=0x00000025656fef08, RBP=0x00000025656fef98, RSI=0x000001d473316de8, RDI=0x0000000000000001
R8 =0x000000000000809d, R9 =0x000001d4777073e8, R10=0x0000000000000000, R11=0x000000062c8a3178
R12=0x0000000000000000, R13=0x000001d47362f488, R14=0x00000025656fefc8, R15=0x000001d409ea15e0
RIP=0x00007ffb12dac79d, EFLAGS=0x0000000000010202
Register to memory mapping:
RAX=0x000001d4776f4990 points into unknown readable memory: 0x0000000000000000 | 00 00 00 00 00 00 00 00
RBX={method} {0x000001d47362f490} 'nglGetBooleanv' '(IJ)V' in 'org/lwjgl/opengl/GL11C'
RCX=0x000000000000809d is an unknown value
RDX=0x000001d4777073e8 points into unknown readable memory: 0x006200657a690000 | 00 00 69 7a 65 00 62 00
RSP=0x00000025656fef08 is pointing into the stack for thread: 0x000001d409ea15e0
RBP=0x00000025656fef98 is pointing into the stack for thread: 0x000001d409ea15e0
RSI=0x000001d473316de8 is pointing into metadata
RDI=0x0000000000000001 is an unknown value
R8 =0x000000000000809d is an unknown value
R9 =0x000001d4777073e8 points into unknown readable memory: 0x006200657a690000 | 00 00 69 7a 65 00 62 00
R10=0x0 is null
R11=0x000000062c8a3178 is an oop: java.lang.Class
{0x000000062c8a3178} - klass: 'java/lang/Class'
- ---- fields (total size 116 words):
- private volatile transient 'classRedefinedCount' 'I' @12 0 (0x00000000)
- injected 'klass' 'J' @16 2010900860064 (0x000001d433080ca0)
- injected 'array_klass' 'J' @24 0 (0x0000000000000000)
- injected 'oop_size' 'I' @32 116 (0x00000074)
- injected 'static_oop_field_count' 'I' @36 0 (0x00000000)
- private volatile transient 'cachedConstructor' 'Ljava/lang/reflect/Constructor;' @40 null (0x00000000)
- private transient 'name' 'Ljava/lang/String;' @44 "org.lwjgl.opengl.GL11C"{0x000000062c8a38f8} (0xc591471f)
- private transient 'module' 'Ljava/lang/Module;' @48 a 'java/lang/Module'{0x000000062b000f50} (0xc56001ea)
- private final 'classLoader' 'Ljava/lang/ClassLoader;' @52 a 'jdk/internal/loader/ClassLoaders$AppClassLoader'{0x000000062b000000} (0xc5600000)
- private transient 'classData' 'Ljava/lang/Object;' @56 null (0x00000000)
- private transient 'packageName' 'Ljava/lang/String;' @60 "org.lwjgl.opengl"{0x000000062b01f050} (0xc5603e0a)
- private final 'componentType' 'Ljava/lang/Class;' @64 null (0x00000000)
- private volatile transient 'reflectionData' 'Ljava/lang/ref/SoftReference;' @68 null (0x00000000)
- private volatile transient 'genericInfo' 'Lsun/reflect/generics/repository/ClassRepository;' @72 null (0x00000000)
- private volatile transient 'enumConstants' '[Ljava/lang/Object;' @76 null (0x00000000)
- private volatile transient 'enumConstantDirectory' 'Ljava/util/Map;' @80 null (0x00000000)
- private volatile transient 'annotationData' 'Ljava/lang/Class$AnnotationData;' @84 null (0x00000000)
- private volatile transient 'annotationType' 'Lsun/reflect/annotation/AnnotationType;' @88 null (0x00000000)
- transient 'classValueMap' 'Ljava/lang/ClassValue$ClassValueMap;' @92 null (0x00000000)
- injected 'protection_domain' 'Ljava/lang/Object;' @96 a 'java/security/ProtectionDomain'{0x000000062b000068} (0xc560000d)
- injected 'signers_name' 'Ljava/lang/Object;' @100 null (0x00000000)
- injected 'source_file' 'Ljava/lang/Object;' @104 null (0x00000000)
- signature: Lorg/lwjgl/opengl/GL11C;
- ---- static fields (0):
- public static final 'GL_NEVER' 'I' @112 512 (0x00000200)
- public static final 'GL_LESS' 'I' @116 513 (0x00000201)
- public static final 'GL_EQUAL' 'I' @120 514 (0x00000202)
- public static final 'GL_LEQUAL' 'I' @124 515 (0x00000203)
- public static final 'GL_GREATER' 'I' @128 516 (0x00000204)
- public static final 'GL_NOTEQUAL' 'I' @132 517 (0x00000205)
- public static final 'GL_GEQUAL' 'I' @136 518 (0x00000206)
- public static final 'GL_ALWAYS' 'I' @140 519 (0x00000207)
- public static final 'GL_DEPTH_BUFFER_BIT' 'I' @144 256 (0x00000100)
- public static final 'GL_STENCIL_BUFFER_BIT' 'I' @148 1024 (0x00000400)
- public static final 'GL_COLOR_BUFFER_BIT' 'I' @152 16384 (0x00004000)
- public static final 'GL_POINTS' 'I' @156 0 (0x00000000)
- public static final 'GL_LINES' 'I' @160 1 (0x00000001)
- public static final 'GL_LINE_LOOP' 'I' @164 2 (0x00000002)
- public static final 'GL_LINE_STRIP' 'I' @168 3 (0x00000003)
- public static final 'GL_TRIANGLES' 'I' @172 4 (0x00000004)
- public static final 'GL_TRIANGLE_STRIP' 'I' @176 5 (0x00000005)
- public static final 'GL_TRIANGLE_FAN' 'I' @180 6 (0x00000006)
- public static final 'GL_QUADS' 'I' @184 7 (0x00000007)
- public static final 'GL_ZERO' 'I' @188 0 (0x00000000)
- public static final 'GL_ONE' 'I' @192 1 (0x00000001)
- public static final 'GL_SRC_COLOR' 'I' @196 768 (0x00000300)
- public static final 'GL_ONE_MINUS_SRC_COLOR' 'I' @200 769 (0x00000301)
- public static final 'GL_SRC_ALPHA' 'I' @204 770 (0x00000302)
- public static final 'GL_ONE_MINUS_SRC_ALPHA' 'I' @208 771 (0x00000303)
- public static final 'GL_DST_ALPHA' 'I' @212 772 (0x00000304)
- public static final 'GL_ONE_MINUS_DST_ALPHA' 'I' @216 773 (0x00000305)
- public static final 'GL_DST_COLOR' 'I' @220 774 (0x00000306)
- public static final 'GL_ONE_MINUS_DST_COLOR' 'I' @224 775 (0x00000307)
- public static final 'GL_SRC_ALPHA_SATURATE' 'I' @228 776 (0x00000308)
- public static final 'GL_TRUE' 'I' @232 1 (0x00000001)
- public static final 'GL_FALSE' 'I' @236 0 (0x00000000)
- public static final 'GL_BYTE' 'I' @240 5120 (0x00001400)
- public static final 'GL_UNSIGNED_BYTE' 'I' @244 5121 (0x00001401)
- public static final 'GL_SHORT' 'I' @248 5122 (0x00001402)
- public static final 'GL_UNSIGNED_SHORT' 'I' @252 5123 (0x00001403)
- public static final 'GL_INT' 'I' @256 5124 (0x00001404)
- public static final 'GL_UNSIGNED_INT' 'I' @260 5125 (0x00001405)
- public static final 'GL_FLOAT' 'I' @264 5126 (0x00001406)
- public static final 'GL_DOUBLE' 'I' @268 5130 (0x0000140a)
- public static final 'GL_NONE' 'I' @272 0 (0x00000000)
- public static final 'GL_FRONT_LEFT' 'I' @276 1024 (0x00000400)
- public static final 'GL_FRONT_RIGHT' 'I' @280 1025 (0x00000401)
- public static final 'GL_BACK_LEFT' 'I' @284 1026 (0x00000402)
- public static final 'GL_BACK_RIGHT' 'I' @288 1027 (0x00000403)
- public static final 'GL_FRONT' 'I' @292 1028 (0x00000404)
- public static final 'GL_BACK' 'I' @296 1029 (0x00000405)
- public static final 'GL_LEFT' 'I' @300 1030 (0x00000406)
- public static final 'GL_RIGHT' 'I' @304 1031 (0x00000407)
- public static final 'GL_FRONT_AND_BACK' 'I' @308 1032 (0x00000408)
- public static final 'GL_NO_ERROR' 'I' @312 0 (0x00000000)
- public static final 'GL_INVALID_ENUM' 'I' @316 1280 (0x00000500)
- public static final 'GL_INVALID_VALUE' 'I' @320 1281 (0x00000501)
- public static final 'GL_INVALID_OPERATION' 'I' @324 1282 (0x00000502)
- public static final 'GL_STACK_OVERFLOW' 'I' @328 1283 (0x00000503)
- public static final 'GL_STACK_UNDERFLOW' 'I' @332 1284 (0x00000504)
- public static final 'GL_OUT_OF_MEMORY' 'I' @336 1285 (0x00000505)
- public static final 'GL_CW' 'I' @340 2304 (0x00000900)
- public static final 'GL_CCW' 'I' @344 2305 (0x00000901)
- public static final 'GL_POINT_SIZE' 'I' @348 2833 (0x00000b11)
- public static final 'GL_POINT_SIZE_RANGE' 'I' @352 2834 (0x00000b12)
- public static final 'GL_POINT_SIZE_GRANULARITY' 'I' @356 2835 (0x00000b13)
- public static final 'GL_LINE_SMOOTH' 'I' @360 2848 (0x00000b20)
- public static final 'GL_LINE_WIDTH' 'I' @364 2849 (0x00000b21)
- public static final 'GL_LINE_WIDTH_RANGE' 'I' @368 2850 (0x00000b22)
- public static final 'GL_LINE_WIDTH_GRANULARITY' 'I' @372 2851 (0x00000b23)
- public static final 'GL_POLYGON_MODE' 'I' @376 2880 (0x00000b40)
- public static final 'GL_POLYGON_SMOOTH' 'I' @380 2881 (0x00000b41)
- public static final 'GL_CULL_FACE' 'I' @384 2884 (0x00000b44)
- public static final 'GL_CULL_FACE_MODE' 'I' @388 2885 (0x00000b45)
- public static final 'GL_FRONT_FACE' 'I' @392 2886 (0x00000b46)
- public static final 'GL_DEPTH_RANGE' 'I' @396 2928 (0x00000b70)
- public static final 'GL_DEPTH_TEST' 'I' @400 2929 (0x00000b71)
- public static final 'GL_DEPTH_WRITEMASK' 'I' @404 2930 (0x00000b72)
- public static final 'GL_DEPTH_CLEAR_VALUE' 'I' @408 2931 (0x00000b73)
- public static final 'GL_DEPTH_FUNC' 'I' @412 2932 (0x00000b74)
- public static final 'GL_STENCIL_TEST' 'I' @416 2960 (0x00000b90)
- public static final 'GL_STENCIL_CLEAR_VALUE' 'I' @420 2961 (0x00000b91)
- public static final 'GL_STENCIL_FUNC' 'I' @424 2962 (0x00000b92)
- public static final 'GL_STENCIL_VALUE_MASK' 'I' @428 2963 (0x00000b93)
- public static final 'GL_STENCIL_FAIL' 'I' @432 2964 (0x00000b94)
- public static final 'GL_STENCIL_PASS_DEPTH_FAIL' 'I' @436 2965 (0x00000b95)
- public static final 'GL_STENCIL_PASS_DEPTH_PASS' 'I' @440 2966 (0x00000b96)
- public static final 'GL_STENCIL_REF' 'I' @444 2967 (0x00000b97)
- public static final 'GL_STENCIL_WRITEMASK' 'I' @448 2968 (0x00000b98)
- public static final 'GL_VIEWPORT' 'I' @452 2978 (0x00000ba2)
- public static final 'GL_DITHER' 'I' @456 3024 (0x00000bd0)
- public static final 'GL_BLEND_DST' 'I' @460 3040 (0x00000be0)
- public static final 'GL_BLEND_SRC' 'I' @464 3041 (0x00000be1)
- public static final 'GL_BLEND' 'I' @468 3042 (0x00000be2)
- public static final 'GL_LOGIC_OP_MODE' 'I' @472 3056 (0x00000bf0)
- public static final 'GL_COLOR_LOGIC_OP' 'I' @476 3058 (0x00000bf2)
- public static final 'GL_DRAW_BUFFER' 'I' @480 3073 (0x00000c01)
- public static final 'GL_READ_BUFFER' 'I' @484 3074 (0x00000c02)
- public static final 'GL_SCISSOR_BOX' 'I' @488 3088 (0x00000c10)
- public static final 'GL_SCISSOR_TEST' 'I' @492 3089 (0x00000c11)
- public static final 'GL_COLOR_CLEAR_VALUE' 'I' @496 3106 (0x00000c22)
- public static final 'GL_COLOR_WRITEMASK' 'I' @500 3107 (0x00000c23)
- public static final 'GL_DOUBLEBUFFER' 'I' @504 3122 (0x00000c32)
- public static final 'GL_STEREO' 'I' @508 3123 (0x00000c33)
- public static final 'GL_LINE_SMOOTH_HINT' 'I' @512 3154 (0x00000c52)
- public static final 'GL_POLYGON_SMOOTH_HINT' 'I' @516 3155 (0x00000c53)
- public static final 'GL_UNPACK_SWAP_BYTES' 'I' @520 3312 (0x00000cf0)
- public static final 'GL_UNPACK_LSB_FIRST' 'I' @524 3313 (0x00000cf1)
- public static final 'GL_UNPACK_ROW_LENGTH' 'I' @528 3314 (0x00000cf2)
- public static final 'GL_UNPACK_SKIP_ROWS' 'I' @532 3315 (0x00000cf3)
- public static final 'GL_UNPACK_SKIP_PIXELS' 'I' @536 3316 (0x00000cf4)
- public static final 'GL_UNPACK_ALIGNMENT' 'I' @540 3317 (0x00000cf5)
- public static final 'GL_PACK_SWAP_BYTES' 'I' @544 3328 (0x00000d00)
- public static final 'GL_PACK_LSB_FIRST' 'I' @548 3329 (0x00000d01)
- public static final 'GL_PACK_ROW_LENGTH' 'I' @552 3330 (0x00000d02)
- public static final 'GL_PACK_SKIP_ROWS' 'I' @556 3331 (0x00000d03)
- public static final 'GL_PACK_SKIP_PIXELS' 'I' @560 3332 (0x00000d04)
- public static final 'GL_PACK_ALIGNMENT' 'I' @564 3333 (0x00000d05)
- public static final 'GL_MAX_TEXTURE_SIZE' 'I' @568 3379 (0x00000d33)
- public static final 'GL_MAX_VIEWPORT_DIMS' 'I' @572 3386 (0x00000d3a)
- public static final 'GL_SUBPIXEL_BITS' 'I' @576 3408 (0x00000d50)
- public static final 'GL_TEXTURE_1D' 'I' @580 3552 (0x00000de0)
- public static final 'GL_TEXTURE_2D' 'I' @584 3553 (0x00000de1)
- public static final 'GL_TEXTURE_WIDTH' 'I' @588 4096 (0x00001000)
- public static final 'GL_TEXTURE_HEIGHT' 'I' @592 4097 (0x00001001)
- public static final 'GL_TEXTURE_INTERNAL_FORMAT' 'I' @596 4099 (0x00001003)
- public static final 'GL_TEXTURE_BORDER_COLOR' 'I' @600 4100 (0x00001004)
- public static final 'GL_DONT_CARE' 'I' @604 4352 (0x00001100)
- public static final 'GL_FASTEST' 'I' @608 4353 (0x00001101)
- public static final 'GL_NICEST' 'I' @612 4354 (0x00001102)
- public static final 'GL_CLEAR' 'I' @616 5376 (0x00001500)
- public static final 'GL_AND' 'I' @620 5377 (0x00001501)
- public static final 'GL_AND_REVERSE' 'I' @624 5378 (0x00001502)
- public static final 'GL_COPY' 'I' @628 5379 (0x00001503)
- public static final 'GL_AND_INVERTED' 'I' @632 5380 (0x00001504)
- public static final 'GL_NOOP' 'I' @636 5381 (0x00001505)
- public static final 'GL_XOR' 'I' @640 5382 (0x00001506)
- public static final 'GL_OR' 'I' @644 5383 (0x00001507)
- public static final 'GL_NOR' 'I' @648 5384 (0x00001508)
- public static final 'GL_EQUIV' 'I' @652 5385 (0x00001509)
- public static final 'GL_INVERT' 'I' @656 5386 (0x0000150a)
- public static final 'GL_OR_REVERSE' 'I' @660 5387 (0x0000150b)
- public static final 'GL_COPY_INVERTED' 'I' @664 5388 (0x0000150c)
- public static final 'GL_OR_INVERTED' 'I' @668 5389 (0x0000150d)
- public static final 'GL_NAND' 'I' @672 5390 (0x0000150e)
- public static final 'GL_SET' 'I' @676 5391 (0x0000150f)
- public static final 'GL_TEXTURE' 'I' @680 5890 (0x00001702)
- public static final 'GL_COLOR' 'I' @684 6144 (0x00001800)
- public static final 'GL_DEPTH' 'I' @688 6145 (0x00001801)
- public static final 'GL_STENCIL' 'I' @692 6146 (0x00001802)
- public static final 'GL_STENCIL_INDEX' 'I' @696 6401 (0x00001901)
- public static final 'GL_DEPTH_COMPONENT' 'I' @700 6402 (0x00001902)
- public static final 'GL_RED' 'I' @704 6403 (0x00001903)
- public static final 'GL_GREEN' 'I' @708 6404 (0x00001904)
- public static final 'GL_BLUE' 'I' @712 6405 (0x00001905)
- public static final 'GL_ALPHA' 'I' @716 6406 (0x00001906)
- public static final 'GL_RGB' 'I' @720 6407 (0x00001907)
- public static final 'GL_RGBA' 'I' @724 6408 (0x00001908)
- public static final 'GL_POINT' 'I' @728 6912 (0x00001b00)
- public static final 'GL_LINE' 'I' @732 6913 (0x00001b01)
- public static final 'GL_FILL' 'I' @736 6914 (0x00001b02)
- public static final 'GL_KEEP' 'I' @740 7680 (0x00001e00)
- public static final 'GL_REPLACE' 'I' @744 7681 (0x00001e01)
- public static final 'GL_INCR' 'I' @748 7682 (0x00001e02)
- public static final 'GL_DECR' 'I' @752 7683 (0x00001e03)
- public static final 'GL_VENDOR' 'I' @756 7936 (0x00001f00)
- public static final 'GL_RENDERER' 'I' @760 7937 (0x00001f01)
- public static final 'GL_VERSION' 'I' @764 7938 (0x00001f02)
- public static final 'GL_EXTENSIONS' 'I' @768 7939 (0x00001f03)
- public static final 'GL_NEAREST' 'I' @772 9728 (0x00002600)
- public static final 'GL_LINEAR' 'I' @776 9729 (0x00002601)
- public static final 'GL_NEAREST_MIPMAP_NEAREST' 'I' @780 9984 (0x00002700)
- public static final 'GL_LINEAR_MIPMAP_NEAREST' 'I' @784 9985 (0x00002701)
- public static final 'GL_NEAREST_MIPMAP_LINEAR' 'I' @788 9986 (0x00002702)
- public static final 'GL_LINEAR_MIPMAP_LINEAR' 'I' @792 9987 (0x00002703)
- public static final 'GL_TEXTURE_MAG_FILTER' 'I' @796 10240 (0x00002800)
- public static final 'GL_TEXTURE_MIN_FILTER' 'I' @800 10241 (0x00002801)
- public static final 'GL_TEXTURE_WRAP_S' 'I' @804 10242 (0x00002802)
- public static final 'GL_TEXTURE_WRAP_T' 'I' @808 10243 (0x00002803)
- public static final 'GL_REPEAT' 'I' @812 10497 (0x00002901)
- public static final 'GL_POLYGON_OFFSET_FACTOR' 'I' @816 32824 (0x00008038)
- public static final 'GL_POLYGON_OFFSET_UNITS' 'I' @820 10752 (0x00002a00)
- public static final 'GL_POLYGON_OFFSET_POINT' 'I' @824 10753 (0x00002a01)
- public static final 'GL_POLYGON_OFFSET_LINE' 'I' @828 10754 (0x00002a02)
- public static final 'GL_POLYGON_OFFSET_FILL' 'I' @832 32823 (0x00008037)
- public static final 'GL_R3_G3_B2' 'I' @836 10768 (0x00002a10)
- public static final 'GL_RGB4' 'I' @840 32847 (0x0000804f)
- public static final 'GL_RGB5' 'I' @844 32848 (0x00008050)
- public static final 'GL_RGB8' 'I' @848 32849 (0x00008051)
- public static final 'GL_RGB10' 'I' @852 32850 (0x00008052)
- public static final 'GL_RGB12' 'I' @856 32851 (0x00008053)
- public static final 'GL_RGB16' 'I' @860 32852 (0x00008054)
- public static final 'GL_RGBA2' 'I' @864 32853 (0x00008055)
- public static final 'GL_RGBA4' 'I' @868 32854 (0x00008056)
- public static final 'GL_RGB5_A1' 'I' @872 32855 (0x00008057)
- public static final 'GL_RGBA8' 'I' @876 32856 (0x00008058)
- public static final 'GL_RGB10_A2' 'I' @880 32857 (0x00008059)
- public static final 'GL_RGBA12' 'I' @884 32858 (0x0000805a)
- public static final 'GL_RGBA16' 'I' @888 32859 (0x0000805b)
- public static final 'GL_TEXTURE_RED_SIZE' 'I' @892 32860 (0x0000805c)
- public static final 'GL_TEXTURE_GREEN_SIZE' 'I' @896 32861 (0x0000805d)
- public static final 'GL_TEXTURE_BLUE_SIZE' 'I' @900 32862 (0x0000805e)
- public static final 'GL_TEXTURE_ALPHA_SIZE' 'I' @904 32863 (0x0000805f)
- public static final 'GL_PROXY_TEXTURE_1D' 'I' @908 32867 (0x00008063)
- public static final 'GL_PROXY_TEXTURE_2D' 'I' @912 32868 (0x00008064)
- public static final 'GL_TEXTURE_BINDING_1D' 'I' @916 32872 (0x00008068)
- public static final 'GL_TEXTURE_BINDING_2D' 'I' @920 32873 (0x00008069)
- public static final 'GL_VERTEX_ARRAY' 'I' @924 32884 (0x00008074)
R12=0x0 is null
R13={method} {0x000001d47362f490} 'nglGetBooleanv' '(IJ)V' in 'org/lwjgl/opengl/GL11C'
R14=0x00000025656fefc8 is pointing into the stack for thread: 0x000001d409ea15e0
R15=0x000001d409ea15e0 is a thread
Top of Stack: (sp=0x00000025656fef08)
0x00000025656fef08: 000001d41bd50816 0000000000000001
0x00000025656fef18: 000001d41bd50162 000001d47362f488
0x00000025656fef28: 000001d473316de8 0000000000000000
0x00000025656fef38: 00000025656fef50 00000025656fefb0
0x00000025656fef48: 000001d41bd5011f 00000025656fef50
0x00000025656fef58: 000001d47362f488 0000000000000006
0x00000025656fef68: 000001d473639cd8 0000000000000000
0x00000025656fef78: 000000062c8a3178 000001d47362f488
0x00000025656fef88: 0000000000000000 00000025656fefb8
0x00000025656fef98: 00000025656ff018 000001d41bd4919a
0x00000025656fefa8: 000000062c8a3178 000001d41bd4c697
0x00000025656fefb8: 000001d4777073e8 0000000000000000
0x00000025656fefc8: 000000000000809d 00000025656fefd0
0x00000025656fefd8: 000001d47362f63c 0000000000000007
0x00000025656fefe8: 000001d473639cd8 0000000000000000
0x00000025656feff8: 000000062c8a3178 000001d47362f6c8
0x00000025656ff008: 00000025656fefb8 00000025656ff050
0x00000025656ff018: 00000025656ff0a0 000001d41bd4959e
0x00000025656ff028: 0000000000000000 0000000000000000
0x00000025656ff038: 000000062c8a3970 0000000000010000
0x00000025656ff048: 000000062b282bd0 000000000000809d
0x00000025656ff058: 00000025656ff058 000001d473525af1
0x00000025656ff068: 0000000000000002 000001d473550000
0x00000025656ff078: 0000000000000000 000000062b001a20
0x00000025656ff088: 000001d473525b18 00000025656ff050
0x00000025656ff098: 00000025656ff0b0 00000025656ff110
0x00000025656ff0a8: 000001d41bd4959e 000000000000809d
0x00000025656ff0b8: 000000000000809d 000000062b002340
0x00000025656ff0c8: 00000025656ff0c8 000001d47350fc13
0x00000025656ff0d8: 0000000000000003 000001d473510310
0x00000025656ff0e8: 0000000000000000 000000062b0022d0
0x00000025656ff0f8: 000001d47350fc40 00000025656ff0b0
Instructions: (pc=0x00007ffb12dac79d)
0x00007ffb12dac69d: cc cc cc 48 8b 01 45 8b d8 44 8b 44 24 28 41 8b
0x00007ffb12dac6ad: d1 41 8b cb 4c 8b 50 18 49 ff a2 e8 01 00 00 cc
0x00007ffb12dac6bd: cc cc cc 48 8b 01 41 8b c8 48 8b 50 18 48 ff a2
0x00007ffb12dac6cd: f0 01 00 00 cc cc cc cc cc cc cc cc cc cc cc cc
0x00007ffb12dac6dd: cc cc cc 40 53 48 8b 01 41 8b d8 44 8b 44 24 30
0x00007ffb12dac6ed: 41 8b d1 4c 8b 4c 24 38 8b cb 4c 8b 50 18 5b 49
0x00007ffb12dac6fd: ff a2 f8 01 00 00 cc cc cc cc cc cc cc cc cc cc
0x00007ffb12dac70d: cc cc cc 48 8b 01 48 8b 48 18 48 ff a1 98 02 00
0x00007ffb12dac71d: 00 cc cc 48 8b 01 48 8b 48 18 48 ff a1 a0 02 00
0x00007ffb12dac72d: 00 cc cc 48 8b 01 41 8b c8 48 8b 50 18 48 ff a2
0x00007ffb12dac73d: c8 02 00 00 cc cc cc cc cc cc cc cc cc cc cc cc
0x00007ffb12dac74d: cc cc cc 48 8b 01 49 8b d1 41 8b c8 4c 8b 50 18
0x00007ffb12dac75d: 49 ff a2 d8 02 00 00 cc cc cc cc cc cc cc cc cc
0x00007ffb12dac76d: cc cc cc 48 8b 01 49 8b d1 41 8b c8 4c 8b 50 18
0x00007ffb12dac77d: 49 ff a2 e0 02 00 00 cc cc cc cc cc cc cc cc cc
0x00007ffb12dac78d: cc cc cc 48 8b 01 49 8b d1 41 8b c8 4c 8b 50 18
0x00007ffb12dac79d: 49 ff a2 f0 02 00 00 cc cc cc cc cc cc cc cc cc
0x00007ffb12dac7ad: cc cc cc 48 8b 01 49 8b d1 41 8b c8 4c 8b 50 18
0x00007ffb12dac7bd: 49 ff a2 f8 02 00 00 cc cc cc cc cc cc cc cc cc
0x00007ffb12dac7cd: cc cc cc 48 8b 01 49 8b d1 41 8b c8 4c 8b 50 18
0x00007ffb12dac7dd: 49 ff a2 00 03 00 00 cc cc cc cc cc cc cc cc cc
0x00007ffb12dac7ed: cc cc cc 48 8b 01 49 8b d1 41 8b c8 4c 8b 50 18
0x00007ffb12dac7fd: 49 ff a2 08 03 00 00 cc cc cc cc cc cc cc cc cc
0x00007ffb12dac80d: cc cc cc 48 8b 01 48 8b 48 18 48 8b 81 10 03 00
0x00007ffb12dac81d: 00 48 ff e0 cc cc cc cc cc cc cc cc cc cc cc cc
0x00007ffb12dac82d: cc cc cc 48 8b 01 49 8b d1 41 8b c8 4c 8b 50 18
0x00007ffb12dac83d: 49 ff a2 68 03 00 00 cc cc cc cc cc cc cc cc cc
0x00007ffb12dac84d: cc cc cc 48 8b 01 48 8b 48 18 48 8b 81 78 03 00
0x00007ffb12dac85d: 00 41 8b c8 48 ff e0 cc cc cc cc cc cc cc cc cc
0x00007ffb12dac86d: cc cc cc 40 53 48 8b 01 41 8b d8 44 8b 44 24 30
0x00007ffb12dac87d: 41 8b d1 44 8b 4c 24 38 8b cb 4c 8b 50 18 48 8b
0x00007ffb12dac88d: 44 24 40 48 89 44 24 30 5b 49 ff a2 a8 03 00 00
Stack slot to memory mapping:
stack at sp + 0 slots: 0x000001d41bd50816 is at code_begin+1974 in an Interpreter codelet
native method entry point (kind = native) [0x000001d41bd50060, 0x000001d41bd51398] 4920 bytes
stack at sp + 1 slots: 0x0000000000000001 is an unknown value
stack at sp + 2 slots: 0x000001d41bd50162 is at code_begin+258 in an Interpreter codelet
native method entry point (kind = native) [0x000001d41bd50060, 0x000001d41bd51398] 4920 bytes
stack at sp + 3 slots: {method} {0x000001d47362f490} 'nglGetBooleanv' '(IJ)V' in 'org/lwjgl/opengl/GL11C'
stack at sp + 4 slots: 0x000001d473316de8 is pointing into metadata
stack at sp + 5 slots: 0x0 is null
stack at sp + 6 slots: 0x00000025656fef50 is pointing into the stack for thread: 0x000001d409ea15e0
stack at sp + 7 slots: 0x00000025656fefb0 is pointing into the stack for thread: 0x000001d409ea15e0
--------------- P R O C E S S ---------------
Threads class SMR info:
_java_thread_list=0x000001d477456460, length=17, elements={
0x000001d409ea15e0, 0x000001d4309a6f20, 0x000001d4309a7e40, 0x000001d4309aa060,
0x000001d4309acbc0, 0x000001d4309b5720, 0x000001d4309b6a90, 0x000001d4309c2670,
0x000001d4309c5620, 0x000001d4319f8670, 0x000001d431a5f9f0, 0x000001d431a628d0,
0x000001d431b186d0, 0x000001d431b19780, 0x000001d431c1e460, 0x000001d431c8ab60,
0x000001d47745abd0
}
Java Threads: ( => current thread )
=>0x000001d409ea15e0 JavaThread "main" [_thread_in_native, id=3764, stack(0x0000002565600000,0x0000002565700000) (1024K)]
0x000001d4309a6f20 JavaThread "Reference Handler" daemon [_thread_blocked, id=20340, stack(0x0000002565e00000,0x0000002565f00000) (1024K)]
0x000001d4309a7e40 JavaThread "Finalizer" daemon [_thread_blocked, id=20492, stack(0x0000002565f00000,0x0000002566000000) (1024K)]
0x000001d4309aa060 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=7724, stack(0x0000002566000000,0x0000002566100000) (1024K)]
0x000001d4309acbc0 JavaThread "Attach Listener" daemon [_thread_blocked, id=11212, stack(0x0000002566100000,0x0000002566200000) (1024K)]
0x000001d4309b5720 JavaThread "Service Thread" daemon [_thread_blocked, id=21812, stack(0x0000002566200000,0x0000002566300000) (1024K)]
0x000001d4309b6a90 JavaThread "Monitor Deflation Thread" daemon [_thread_blocked, id=8308, stack(0x0000002566300000,0x0000002566400000) (1024K)]
0x000001d4309c2670 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=1016, stack(0x0000002566400000,0x0000002566500000) (1024K)]
0x000001d4309c5620 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=15156, stack(0x0000002566500000,0x0000002566600000) (1024K)]
0x000001d4319f8670 JavaThread "Common-Cleaner" daemon [_thread_blocked, id=4200, stack(0x0000002566600000,0x0000002566700000) (1024K)]
0x000001d431a5f9f0 JavaThread "C1 CompilerThread1" daemon [_thread_blocked, id=18096, stack(0x0000002566700000,0x0000002566800000) (1024K)]
0x000001d431a628d0 JavaThread "C1 CompilerThread2" daemon [_thread_blocked, id=6104, stack(0x0000002566800000,0x0000002566900000) (1024K)]
0x000001d431b186d0 JavaThread "JDWP Transport Listener: dt_socket" daemon [_thread_blocked, id=2512, stack(0x0000002566900000,0x0000002566a00000) (1024K)]
0x000001d431b19780 JavaThread "JDWP Event Helper Thread" daemon [_thread_blocked, id=2100, stack(0x0000002566a00000,0x0000002566b00000) (1024K)]
0x000001d431c1e460 JavaThread "JDWP Command Reader" daemon [_thread_in_native, id=3932, stack(0x0000002566b00000,0x0000002566c00000) (1024K)]
0x000001d431c8ab60 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=22912, stack(0x0000002566c00000,0x0000002566d00000) (1024K)]
0x000001d47745abd0 JavaThread "Notification Thread" daemon [_thread_blocked, id=23228, stack(0x0000002566d00000,0x0000002566e00000) (1024K)]
Total: 17
Other Threads:
0x000001d430985870 VMThread "VM Thread" [id=9956, stack(0x0000002565d00000,0x0000002565e00000) (1024K)]
0x000001d431941920 WatcherThread "VM Periodic Task Thread" [id=10532, stack(0x0000002565c00000,0x0000002565d00000) (1024K)]
0x000001d40c2b6630 WorkerThread "GC Thread#0" [id=18200, stack(0x0000002565700000,0x0000002565800000) (1024K)]
0x000001d47771ae40 WorkerThread "GC Thread#1" [id=852, stack(0x0000002566e00000,0x0000002566f00000) (1024K)]
0x000001d47771b1e0 WorkerThread "GC Thread#2" [id=22648, stack(0x0000002566f00000,0x0000002567000000) (1024K)]
0x000001d47771b580 WorkerThread "GC Thread#3" [id=8252, stack(0x0000002567000000,0x0000002567100000) (1024K)]
0x000001d47771b920 WorkerThread "GC Thread#4" [id=5064, stack(0x0000002567100000,0x0000002567200000) (1024K)]
0x000001d47771c460 WorkerThread "GC Thread#5" [id=9524, stack(0x0000002567200000,0x0000002567300000) (1024K)]
0x000001d4777df6e0 WorkerThread "GC Thread#6" [id=8944, stack(0x0000002567300000,0x0000002567400000) (1024K)]
0x000001d4777c6c30 WorkerThread "GC Thread#7" [id=10372, stack(0x0000002567400000,0x0000002567500000) (1024K)]
0x000001d4777e2e30 WorkerThread "GC Thread#8" [id=7428, stack(0x0000002567500000,0x0000002567600000) (1024K)]
0x000001d4777e2a90 WorkerThread "GC Thread#9" [id=7860, stack(0x0000002567600000,0x0000002567700000) (1024K)]
0x000001d4777e31d0 WorkerThread "GC Thread#10" [id=7964, stack(0x0000002567700000,0x0000002567800000) (1024K)]
0x000001d4777e3570 WorkerThread "GC Thread#11" [id=10192, stack(0x0000002567800000,0x0000002567900000) (1024K)]
0x000001d40c2c9950 ConcurrentGCThread "G1 Main Marker" [id=17428, stack(0x0000002565800000,0x0000002565900000) (1024K)]
0x000001d40c2ca450 WorkerThread "G1 Conc#0" [id=20824, stack(0x0000002565900000,0x0000002565a00000) (1024K)]
0x000001d4308c62f0 ConcurrentGCThread "G1 Refine#0" [id=8276, stack(0x0000002565a00000,0x0000002565b00000) (1024K)]
0x000001d4308c6e60 ConcurrentGCThread "G1 Service" [id=23408, stack(0x0000002565b00000,0x0000002565c00000) (1024K)]
Total: 18
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: 0x000000060d800000, size: 7976 MB, Compressed Oops mode: Zero based, Oop shift amount: 3
CDS archive(s) mapped at: [0x000001d432000000-0x000001d432c90000-0x000001d432c90000), size 13172736, SharedBaseAddress: 0x000001d432000000, ArchiveRelocationMode: 1.
Compressed class space mapped at: 0x000001d433000000-0x000001d473000000, reserved size: 1073741824
Narrow klass base: 0x000001d432000000, Narrow klass shift: 0, Narrow klass range: 0x100000000
GC Precious Log:
CardTable entry size: 512
Card Set container configuration: InlinePtr #cards 4 size 8 Array Of Cards #cards 32 size 80 Howl #buckets 8 coarsen threshold 7372 Howl Bitmap #cards 1024 size 144 coarsen threshold 921 Card regions per heap region 1 cards per card region 8192
CPUs: 24 total, 24 available
Memory: 31894M
Large Page Support: Disabled
NUMA Support: Disabled
Compressed Oops: Enabled (Zero based)
Heap Region Size: 4M
Heap Min Capacity: 8M
Heap Initial Capacity: 500M
Heap Max Capacity: 7976M
Pre-touch: Disabled
Parallel Workers: 18
Concurrent Workers: 5
Concurrent Refinement Workers: 18
Periodic GC: Disabled
Heap:
garbage-first heap total 512000K, used 4096K [0x000000060d800000, 0x0000000800000000)
region size 4096K, 2 young (8192K), 1 survivors (4096K)
Metaspace used 5872K, committed 6080K, reserved 1114112K
class space used 464K, committed 576K, reserved 1048576K
Heap Regions: E=young(eden), S=young(survivor), O=old, HS=humongous(starts), HC=humongous(continues), CS=collection set, F=free, TAMS=top-at-mark-start, PB=parsable bottom
| 0|0x000000060d800000, 0x000000060d800000, 0x000000060dc00000| 0%| F| |TAMS 0x000000060d800000| PB 0x000000060d800000| Untracked
| 1|0x000000060dc00000, 0x000000060dc00000, 0x000000060e000000| 0%| F| |TAMS 0x000000060dc00000| PB 0x000000060dc00000| Untracked
| 2|0x000000060e000000, 0x000000060e000000, 0x000000060e400000| 0%| F| |TAMS 0x000000060e000000| PB 0x000000060e000000| Untracked
| 3|0x000000060e400000, 0x000000060e400000, 0x000000060e800000| 0%| F| |TAMS 0x000000060e400000| PB 0x000000060e400000| Untracked
| 4|0x000000060e800000, 0x000000060e800000, 0x000000060ec00000| 0%| F| |TAMS 0x000000060e800000| PB 0x000000060e800000| Untracked
| 5|0x000000060ec00000, 0x000000060ec00000, 0x000000060f000000| 0%| F| |TAMS 0x000000060ec00000| PB 0x000000060ec00000| Untracked
| 6|0x000000060f000000, 0x000000060f000000, 0x000000060f400000| 0%| F| |TAMS 0x000000060f000000| PB 0x000000060f000000| Untracked
| 7|0x000000060f400000, 0x000000060f400000, 0x000000060f800000| 0%| F| |TAMS 0x000000060f400000| PB 0x000000060f400000| Untracked
| 8|0x000000060f800000, 0x000000060f800000, 0x000000060fc00000| 0%| F| |TAMS 0x000000060f800000| PB 0x000000060f800000| Untracked
| 9|0x000000060fc00000, 0x000000060fc00000, 0x0000000610000000| 0%| F| |TAMS 0x000000060fc00000| PB 0x000000060fc00000| Untracked
| 10|0x0000000610000000, 0x0000000610000000, 0x0000000610400000| 0%| F| |TAMS 0x0000000610000000| PB 0x0000000610000000| Untracked
| 11|0x0000000610400000, 0x0000000610400000, 0x0000000610800000| 0%| F| |TAMS 0x0000000610400000| PB 0x0000000610400000| Untracked
| 12|0x0000000610800000, 0x0000000610800000, 0x0000000610c00000| 0%| F| |TAMS 0x0000000610800000| PB 0x0000000610800000| Untracked
| 13|0x0000000610c00000, 0x0000000610c00000, 0x0000000611000000| 0%| F| |TAMS 0x0000000610c00000| PB 0x0000000610c00000| Untracked
| 14|0x0000000611000000, 0x0000000611000000, 0x0000000611400000| 0%| F| |TAMS 0x0000000611000000| PB 0x0000000611000000| Untracked
| 15|0x0000000611400000, 0x0000000611400000, 0x0000000611800000| 0%| F| |TAMS 0x0000000611400000| PB 0x0000000611400000| Untracked
| 16|0x0000000611800000, 0x0000000611800000, 0x0000000611c00000| 0%| F| |TAMS 0x0000000611800000| PB 0x0000000611800000| Untracked
| 17|0x0000000611c00000, 0x0000000611c00000, 0x0000000612000000| 0%| F| |TAMS 0x0000000611c00000| PB 0x0000000611c00000| Untracked
| 18|0x0000000612000000, 0x0000000612000000, 0x0000000612400000| 0%| F| |TAMS 0x0000000612000000| PB 0x0000000612000000| Untracked
| 19|0x0000000612400000, 0x0000000612400000, 0x0000000612800000| 0%| F| |TAMS 0x0000000612400000| PB 0x0000000612400000| Untracked
| 20|0x0000000612800000, 0x0000000612800000, 0x0000000612c00000| 0%| F| |TAMS 0x0000000612800000| PB 0x0000000612800000| Untracked
| 21|0x0000000612c00000, 0x0000000612c00000, 0x0000000613000000| 0%| F| |TAMS 0x0000000612c00000| PB 0x0000000612c00000| Untracked
| 22|0x0000000613000000, 0x0000000613000000, 0x0000000613400000| 0%| F| |TAMS 0x0000000613000000| PB 0x0000000613000000| Untracked
| 23|0x0000000613400000, 0x0000000613400000, 0x0000000613800000| 0%| F| |TAMS 0x0000000613400000| PB 0x0000000613400000| Untracked
| 24|0x0000000613800000, 0x0000000613800000, 0x0000000613c00000| 0%| F| |TAMS 0x0000000613800000| PB 0x0000000613800000| Untracked
| 25|0x0000000613c00000, 0x0000000613c00000, 0x0000000614000000| 0%| F| |TAMS 0x0000000613c00000| PB 0x0000000613c00000| Untracked
| 26|0x0000000614000000, 0x0000000614000000, 0x0000000614400000| 0%| F| |TAMS 0x0000000614000000| PB 0x0000000614000000| Untracked
| 27|0x0000000614400000, 0x0000000614400000, 0x0000000614800000| 0%| F| |TAMS 0x0000000614400000| PB 0x0000000614400000| Untracked
| 28|0x0000000614800000, 0x0000000614800000, 0x0000000614c00000| 0%| F| |TAMS 0x0000000614800000| PB 0x0000000614800000| Untracked
| 29|0x0000000614c00000, 0x0000000614c00000, 0x0000000615000000| 0%| F| |TAMS 0x0000000614c00000| PB 0x0000000614c00000| Untracked
| 30|0x0000000615000000, 0x0000000615000000, 0x0000000615400000| 0%| F| |TAMS 0x0000000615000000| PB 0x0000000615000000| Untracked
| 31|0x0000000615400000, 0x0000000615400000, 0x0000000615800000| 0%| F| |TAMS 0x0000000615400000| PB 0x0000000615400000| Untracked
| 32|0x0000000615800000, 0x0000000615800000, 0x0000000615c00000| 0%| F| |TAMS 0x0000000615800000| PB 0x0000000615800000| Untracked
| 33|0x0000000615c00000, 0x0000000615c00000, 0x0000000616000000| 0%| F| |TAMS 0x0000000615c00000| PB 0x0000000615c00000| Untracked
| 34|0x0000000616000000, 0x0000000616000000, 0x0000000616400000| 0%| F| |TAMS 0x0000000616000000| PB 0x0000000616000000| Untracked
| 35|0x0000000616400000, 0x0000000616400000, 0x0000000616800000| 0%| F| |TAMS 0x0000000616400000| PB 0x0000000616400000| Untracked
| 36|0x0000000616800000, 0x0000000616800000, 0x0000000616c00000| 0%| F| |TAMS 0x0000000616800000| PB 0x0000000616800000| Untracked
| 37|0x0000000616c00000, 0x0000000616c00000, 0x0000000617000000| 0%| F| |TAMS 0x0000000616c00000| PB 0x0000000616c00000| Untracked
| 38|0x0000000617000000, 0x0000000617000000, 0x0000000617400000| 0%| F| |TAMS 0x0000000617000000| PB 0x0000000617000000| Untracked
| 39|0x0000000617400000, 0x0000000617400000, 0x0000000617800000| 0%| F| |TAMS 0x0000000617400000| PB 0x0000000617400000| Untracked
| 40|0x0000000617800000, 0x0000000617800000, 0x0000000617c00000| 0%| F| |TAMS 0x0000000617800000| PB 0x0000000617800000| Untracked
| 41|0x0000000617c00000, 0x0000000617c00000, 0x0000000618000000| 0%| F| |TAMS 0x0000000617c00000| PB 0x0000000617c00000| Untracked
| 42|0x0000000618000000, 0x0000000618000000, 0x0000000618400000| 0%| F| |TAMS 0x0000000618000000| PB 0x0000000618000000| Untracked
| 43|0x0000000618400000, 0x0000000618400000, 0x0000000618800000| 0%| F| |TAMS 0x0000000618400000| PB 0x0000000618400000| Untracked
| 44|0x0000000618800000, 0x0000000618800000, 0x0000000618c00000| 0%| F| |TAMS 0x0000000618800000| PB 0x0000000618800000| Untracked
| 45|0x0000000618c00000, 0x0000000618c00000, 0x0000000619000000| 0%| F| |TAMS 0x0000000618c00000| PB 0x0000000618c00000| Untracked
| 46|0x0000000619000000, 0x0000000619000000, 0x0000000619400000| 0%| F| |TAMS 0x0000000619000000| PB 0x0000000619000000| Untracked
| 47|0x0000000619400000, 0x0000000619400000, 0x0000000619800000| 0%| F| |TAMS 0x0000000619400000| PB 0x0000000619400000| Untracked
| 48|0x0000000619800000, 0x0000000619800000, 0x0000000619c00000| 0%| F| |TAMS 0x0000000619800000| PB 0x0000000619800000| Untracked
| 49|0x0000000619c00000, 0x0000000619c00000, 0x000000061a000000| 0%| F| |TAMS 0x0000000619c00000| PB 0x0000000619c00000| Untracked
| 50|0x000000061a000000, 0x000000061a000000, 0x000000061a400000| 0%| F| |TAMS 0x000000061a000000| PB 0x000000061a000000| Untracked
| 51|0x000000061a400000, 0x000000061a400000, 0x000000061a800000| 0%| F| |TAMS 0x000000061a400000| PB 0x000000061a400000| Untracked
| 52|0x000000061a800000, 0x000000061a800000, 0x000000061ac00000| 0%| F| |TAMS 0x000000061a800000| PB 0x000000061a800000| Untracked
| 53|0x000000061ac00000, 0x000000061ac00000, 0x000000061b000000| 0%| F| |TAMS 0x000000061ac00000| PB 0x000000061ac00000| Untracked
| 54|0x000000061b000000, 0x000000061b000000, 0x000000061b400000| 0%| F| |TAMS 0x000000061b000000| PB 0x000000061b000000| Untracked
| 55|0x000000061b400000, 0x000000061b400000, 0x000000061b800000| 0%| F| |TAMS 0x000000061b400000| PB 0x000000061b400000| Untracked
| 56|0x000000061b800000, 0x000000061b800000, 0x000000061bc00000| 0%| F| |TAMS 0x000000061b800000| PB 0x000000061b800000| Untracked
| 57|0x000000061bc00000, 0x000000061bc00000, 0x000000061c000000| 0%| F| |TAMS 0x000000061bc00000| PB 0x000000061bc00000| Untracked
| 58|0x000000061c000000, 0x000000061c000000, 0x000000061c400000| 0%| F| |TAMS 0x000000061c000000| PB 0x000000061c000000| Untracked
| 59|0x000000061c400000, 0x000000061c400000, 0x000000061c800000| 0%| F| |TAMS 0x000000061c400000| PB 0x000000061c400000| Untracked
| 60|0x000000061c800000, 0x000000061c800000, 0x000000061cc00000| 0%| F| |TAMS 0x000000061c800000| PB 0x000000061c800000| Untracked
| 61|0x000000061cc00000, 0x000000061cc00000, 0x000000061d000000| 0%| F| |TAMS 0x000000061cc00000| PB 0x000000061cc00000| Untracked
| 62|0x000000061d000000, 0x000000061d000000, 0x000000061d400000| 0%| F| |TAMS 0x000000061d000000| PB 0x000000061d000000| Untracked
| 63|0x000000061d400000, 0x000000061d400000, 0x000000061d800000| 0%| F| |TAMS 0x000000061d400000| PB 0x000000061d400000| Untracked
| 64|0x000000061d800000, 0x000000061d800000, 0x000000061dc00000| 0%| F| |TAMS 0x000000061d800000| PB 0x000000061d800000| Untracked
| 65|0x000000061dc00000, 0x000000061dc00000, 0x000000061e000000| 0%| F| |TAMS 0x000000061dc00000| PB 0x000000061dc00000| Untracked
| 66|0x000000061e000000, 0x000000061e000000, 0x000000061e400000| 0%| F| |TAMS 0x000000061e000000| PB 0x000000061e000000| Untracked
| 67|0x000000061e400000, 0x000000061e400000, 0x000000061e800000| 0%| F| |TAMS 0x000000061e400000| PB 0x000000061e400000| Untracked
| 68|0x000000061e800000, 0x000000061e800000, 0x000000061ec00000| 0%| F| |TAMS 0x000000061e800000| PB 0x000000061e800000| Untracked
| 69|0x000000061ec00000, 0x000000061ec00000, 0x000000061f000000| 0%| F| |TAMS 0x000000061ec00000| PB 0x000000061ec00000| Untracked
| 70|0x000000061f000000, 0x000000061f000000, 0x000000061f400000| 0%| F| |TAMS 0x000000061f000000| PB 0x000000061f000000| Untracked
| 71|0x000000061f400000, 0x000000061f400000, 0x000000061f800000| 0%| F| |TAMS 0x000000061f400000| PB 0x000000061f400000| Untracked
| 72|0x000000061f800000, 0x000000061f800000, 0x000000061fc00000| 0%| F| |TAMS 0x000000061f800000| PB 0x000000061f800000| Untracked
| 73|0x000000061fc00000, 0x000000061fc00000, 0x0000000620000000| 0%| F| |TAMS 0x000000061fc00000| PB 0x000000061fc00000| Untracked
| 74|0x0000000620000000, 0x0000000620000000, 0x0000000620400000| 0%| F| |TAMS 0x0000000620000000| PB 0x0000000620000000| Untracked
| 75|0x0000000620400000, 0x0000000620400000, 0x0000000620800000| 0%| F| |TAMS 0x0000000620400000| PB 0x0000000620400000| Untracked
| 76|0x0000000620800000, 0x0000000620800000, 0x0000000620c00000| 0%| F| |TAMS 0x0000000620800000| PB 0x0000000620800000| Untracked
| 77|0x0000000620c00000, 0x0000000620c00000, 0x0000000621000000| 0%| F| |TAMS 0x0000000620c00000| PB 0x0000000620c00000| Untracked
| 78|0x0000000621000000, 0x0000000621000000, 0x0000000621400000| 0%| F| |TAMS 0x0000000621000000| PB 0x0000000621000000| Untracked
| 79|0x0000000621400000, 0x0000000621400000, 0x0000000621800000| 0%| F| |TAMS 0x0000000621400000| PB 0x0000000621400000| Untracked
| 80|0x0000000621800000, 0x0000000621800000, 0x0000000621c00000| 0%| F| |TAMS 0x0000000621800000| PB 0x0000000621800000| Untracked
| 81|0x0000000621c00000, 0x0000000621c00000, 0x0000000622000000| 0%| F| |TAMS 0x0000000621c00000| PB 0x0000000621c00000| Untracked
| 82|0x0000000622000000, 0x0000000622000000, 0x0000000622400000| 0%| F| |TAMS 0x0000000622000000| PB 0x0000000622000000| Untracked
| 83|0x0000000622400000, 0x0000000622400000, 0x0000000622800000| 0%| F| |TAMS 0x0000000622400000| PB 0x0000000622400000| Untracked
| 84|0x0000000622800000, 0x0000000622800000, 0x0000000622c00000| 0%| F| |TAMS 0x0000000622800000| PB 0x0000000622800000| Untracked
| 85|0x0000000622c00000, 0x0000000622c00000, 0x0000000623000000| 0%| F| |TAMS 0x0000000622c00000| PB 0x0000000622c00000| Untracked
| 86|0x0000000623000000, 0x0000000623000000, 0x0000000623400000| 0%| F| |TAMS 0x0000000623000000| PB 0x0000000623000000| Untracked
| 87|0x0000000623400000, 0x0000000623400000, 0x0000000623800000| 0%| F| |TAMS 0x0000000623400000| PB 0x0000000623400000| Untracked
| 88|0x0000000623800000, 0x0000000623800000, 0x0000000623c00000| 0%| F| |TAMS 0x0000000623800000| PB 0x0000000623800000| Untracked
| 89|0x0000000623c00000, 0x0000000623c00000, 0x0000000624000000| 0%| F| |TAMS 0x0000000623c00000| PB 0x0000000623c00000| Untracked
| 90|0x0000000624000000, 0x0000000624000000, 0x0000000624400000| 0%| F| |TAMS 0x0000000624000000| PB 0x0000000624000000| Untracked
| 91|0x0000000624400000, 0x0000000624400000, 0x0000000624800000| 0%| F| |TAMS 0x0000000624400000| PB 0x0000000624400000| Untracked
| 92|0x0000000624800000, 0x0000000624800000, 0x0000000624c00000| 0%| F| |TAMS 0x0000000624800000| PB 0x0000000624800000| Untracked
| 93|0x0000000624c00000, 0x0000000624c00000, 0x0000000625000000| 0%| F| |TAMS 0x0000000624c00000| PB 0x0000000624c00000| Untracked
| 94|0x0000000625000000, 0x0000000625000000, 0x0000000625400000| 0%| F| |TAMS 0x0000000625000000| PB 0x0000000625000000| Untracked
| 95|0x0000000625400000, 0x0000000625400000, 0x0000000625800000| 0%| F| |TAMS 0x0000000625400000| PB 0x0000000625400000| Untracked
| 96|0x0000000625800000, 0x0000000625800000, 0x0000000625c00000| 0%| F| |TAMS 0x0000000625800000| PB 0x0000000625800000| Untracked
| 97|0x0000000625c00000, 0x0000000625c00000, 0x0000000626000000| 0%| F| |TAMS 0x0000000625c00000| PB 0x0000000625c00000| Untracked
| 98|0x0000000626000000, 0x0000000626000000, 0x0000000626400000| 0%| F| |TAMS 0x0000000626000000| PB 0x0000000626000000| Untracked
| 99|0x0000000626400000, 0x0000000626400000, 0x0000000626800000| 0%| F| |TAMS 0x0000000626400000| PB 0x0000000626400000| Untracked
| 100|0x0000000626800000, 0x0000000626800000, 0x0000000626c00000| 0%| F| |TAMS 0x0000000626800000| PB 0x0000000626800000| Untracked
| 101|0x0000000626c00000, 0x0000000626c00000, 0x0000000627000000| 0%| F| |TAMS 0x0000000626c00000| PB 0x0000000626c00000| Untracked
| 102|0x0000000627000000, 0x0000000627000000, 0x0000000627400000| 0%| F| |TAMS 0x0000000627000000| PB 0x0000000627000000| Untracked
| 103|0x0000000627400000, 0x0000000627400000, 0x0000000627800000| 0%| F| |TAMS 0x0000000627400000| PB 0x0000000627400000| Untracked
| 104|0x0000000627800000, 0x0000000627800000, 0x0000000627c00000| 0%| F| |TAMS 0x0000000627800000| PB 0x0000000627800000| Untracked
| 105|0x0000000627c00000, 0x0000000627c00000, 0x0000000628000000| 0%| F| |TAMS 0x0000000627c00000| PB 0x0000000627c00000| Untracked
| 106|0x0000000628000000, 0x0000000628000000, 0x0000000628400000| 0%| F| |TAMS 0x0000000628000000| PB 0x0000000628000000| Untracked
| 107|0x0000000628400000, 0x0000000628400000, 0x0000000628800000| 0%| F| |TAMS 0x0000000628400000| PB 0x0000000628400000| Untracked
| 108|0x0000000628800000, 0x0000000628800000, 0x0000000628c00000| 0%| F| |TAMS 0x0000000628800000| PB 0x0000000628800000| Untracked
| 109|0x0000000628c00000, 0x0000000628c00000, 0x0000000629000000| 0%| F| |TAMS 0x0000000628c00000| PB 0x0000000628c00000| Untracked
| 110|0x0000000629000000, 0x0000000629000000, 0x0000000629400000| 0%| F| |TAMS 0x0000000629000000| PB 0x0000000629000000| Untracked
| 111|0x0000000629400000, 0x0000000629400000, 0x0000000629800000| 0%| F| |TAMS 0x0000000629400000| PB 0x0000000629400000| Untracked
| 112|0x0000000629800000, 0x0000000629800000, 0x0000000629c00000| 0%| F| |TAMS 0x0000000629800000| PB 0x0000000629800000| Untracked
| 113|0x0000000629c00000, 0x0000000629c00000, 0x000000062a000000| 0%| F| |TAMS 0x0000000629c00000| PB 0x0000000629c00000| Untracked
| 114|0x000000062a000000, 0x000000062a000000, 0x000000062a400000| 0%| F| |TAMS 0x000000062a000000| PB 0x000000062a000000| Untracked
| 115|0x000000062a400000, 0x000000062a400000, 0x000000062a800000| 0%| F| |TAMS 0x000000062a400000| PB 0x000000062a400000| Untracked
| 116|0x000000062a800000, 0x000000062a800000, 0x000000062ac00000| 0%| F| |TAMS 0x000000062a800000| PB 0x000000062a800000| Untracked
| 117|0x000000062ac00000, 0x000000062ac00000, 0x000000062b000000| 0%| F| |TAMS 0x000000062ac00000| PB 0x000000062ac00000| Untracked
| 118|0x000000062b000000, 0x000000062b400000, 0x000000062b400000|100%| S|CS|TAMS 0x000000062b000000| PB 0x000000062b000000| Complete
| 119|0x000000062b400000, 0x000000062b400000, 0x000000062b800000| 0%| F| |TAMS 0x000000062b400000| PB 0x000000062b400000| Untracked
| 120|0x000000062b800000, 0x000000062b800000, 0x000000062bc00000| 0%| F| |TAMS 0x000000062b800000| PB 0x000000062b800000| Untracked
| 121|0x000000062bc00000, 0x000000062bc00000, 0x000000062c000000| 0%| F| |TAMS 0x000000062bc00000| PB 0x000000062bc00000| Untracked
| 122|0x000000062c000000, 0x000000062c000000, 0x000000062c400000| 0%| F| |TAMS 0x000000062c000000| PB 0x000000062c000000| Untracked
| 123|0x000000062c400000, 0x000000062c400000, 0x000000062c800000| 0%| F| |TAMS 0x000000062c400000| PB 0x000000062c400000| Untracked
| 124|0x000000062c800000, 0x000000062c8f9648, 0x000000062cc00000| 24%| E| |TAMS 0x000000062c800000| PB 0x000000062c800000| Complete
Card table byte_map: [0x000001d425660000,0x000001d426600000] _byte_map_base: 0x000001d4225f4000
Marking Bits: (CMBitMap*) 0x000001d40c2b6d30
Bits: [0x000001d426600000, 0x000001d42e2a0000)
Polling page: 0x000001d40b9e0000
Metaspace:
Usage:
Non-class: 5.28 MB used.
Class: 464.23 KB used.
Both: 5.74 MB used.
Virtual space:
Non-class space: 64.00 MB reserved, 5.38 MB ( 8%) committed, 1 nodes.
Class space: 1.00 GB reserved, 576.00 KB ( <1%) committed, 1 nodes.
Both: 1.06 GB reserved, 5.94 MB ( <1%) committed.
Chunk freelists:
Non-Class: 9.77 MB
Class: 15.48 MB
Both: 25.25 MB
MaxMetaspaceSize: unlimited
CompressedClassSpaceSize: 1.00 GB
Initial GC threshold: 21.00 MB
Current GC threshold: 21.00 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: 0.
num_arena_births: 112.
num_arena_deaths: 0.
num_vsnodes_births: 2.
num_vsnodes_deaths: 0.
num_space_committed: 95.
num_space_uncommitted: 0.
num_chunks_returned_to_freelist: 0.
num_chunks_taken_from_freelist: 212.
num_chunk_merges: 0.
num_chunk_splits: 157.
num_chunks_enlarged: 113.
num_inconsistent_stats: 0.
CodeHeap 'non-profiled nmethods': size=119168Kb used=371Kb max_used=371Kb free=118796Kb
bounds [0x000001d41c490000, 0x000001d41c700000, 0x000001d4238f0000]
CodeHeap 'profiled nmethods': size=119104Kb used=1976Kb max_used=1976Kb free=117127Kb
bounds [0x000001d4148f0000, 0x000001d414b60000, 0x000001d41bd40000]
CodeHeap 'non-nmethods': size=7488Kb used=3591Kb max_used=3604Kb free=3896Kb
bounds [0x000001d41bd40000, 0x000001d41c0d0000, 0x000001d41c490000]
total_blobs=2146 nmethods=1086 adapters=963
compilation: enabled
stopped_count=0, restarted_count=0
full_count=0
Compilation events (20 events):
Event: 0.308 Thread 0x000001d4309c5620 nmethod 1074 0x000001d414adc790 code [0x000001d414adc920, 0x000001d414adca30]
Event: 0.308 Thread 0x000001d431a628d0 nmethod 1073 0x000001d414adcb10 code [0x000001d414adccc0, 0x000001d414adcf08]
Event: 0.311 Thread 0x000001d431a5f9f0 1076 1 java.util.concurrent.locks.AbstractOwnableSynchronizer::setExclusiveOwnerThread (6 bytes)
Event: 0.311 Thread 0x000001d4309c5620 1077 1 java.util.concurrent.locks.AbstractOwnableSynchronizer::getExclusiveOwnerThread (5 bytes)
Event: 0.311 Thread 0x000001d431a628d0 1078 3 java.lang.ref.Reference::clear (5 bytes)
Event: 0.311 Thread 0x000001d431a5f9f0 nmethod 1076 0x000001d41c4eb890 code [0x000001d41c4eba20, 0x000001d41c4ebb38]
Event: 0.311 Thread 0x000001d4309c5620 nmethod 1077 0x000001d41c4ebf90 code [0x000001d41c4ec120, 0x000001d41c4ec1f0]
Event: 0.311 Thread 0x000001d431a5f9f0 1080 ! 3 jdk.internal.ref.PhantomCleanable::remove (60 bytes)
Event: 0.311 Thread 0x000001d431a628d0 nmethod 1078 0x000001d414add010 code [0x000001d414add1c0, 0x000001d414add308]
Event: 0.311 Thread 0x000001d4309c5620 1081 1 java.util.concurrent.locks.AbstractQueuedSynchronizer::getState (5 bytes)
Event: 0.311 Thread 0x000001d431a628d0 1082 1 java.util.concurrent.locks.AbstractQueuedSynchronizer::setState (6 bytes)
Event: 0.311 Thread 0x000001d4309c5620 nmethod 1081 0x000001d41c4ec290 code [0x000001d41c4ec420, 0x000001d41c4ec4e8]
Event: 0.311 Thread 0x000001d431a628d0 nmethod 1082 0x000001d41c4ec590 code [0x000001d41c4ec720, 0x000001d41c4ec7f0]
Event: 0.311 Thread 0x000001d431a5f9f0 nmethod 1080 0x000001d414add390 code [0x000001d414add560, 0x000001d414add9c0]
Event: 0.311 Thread 0x000001d431a628d0 1084 3 sun.misc.Unsafe::putLong (11 bytes)
Event: 0.311 Thread 0x000001d431a5f9f0 1085 3 org.lwjgl.system.MemoryUtil::memPutAddress (29 bytes)
Event: 0.311 Thread 0x000001d431a628d0 nmethod 1084 0x000001d414addb90 code [0x000001d414addd20, 0x000001d414adde30]
Event: 0.311 Thread 0x000001d4309c2670 1086 4 java.lang.Integer::toUnsignedLong (7 bytes)
Event: 0.311 Thread 0x000001d431a5f9f0 nmethod 1085 0x000001d414addf10 code [0x000001d414ade0c0, 0x000001d414ade2b0]
Event: 0.311 Thread 0x000001d4309c2670 nmethod 1086 0x000001d41c4ecc90 code [0x000001d41c4ece00, 0x000001d41c4ece68]
GC Heap History (2 events):
Event: 0.308 GC heap before
{Heap before GC invocations=0 (full 0):
garbage-first heap total 512000K, used 24576K [0x000000060d800000, 0x0000000800000000)
region size 4096K, 6 young (24576K), 0 survivors (0K)
Metaspace used 5800K, committed 6016K, reserved 1114112K
class space used 462K, committed 576K, reserved 1048576K
}
Event: 0.311 GC heap after
{Heap after GC invocations=1 (full 0):
garbage-first heap total 512000K, used 4096K [0x000000060d800000, 0x0000000800000000)
region size 4096K, 1 young (4096K), 1 survivors (4096K)
Metaspace used 5800K, committed 6016K, reserved 1114112K
class space used 462K, committed 576K, reserved 1048576K
}
Dll operation events (11 events):
Event: 0.004 Loaded shared library C:\Program Files\Java\jdk-21.0.2\bin\java.dll
Event: 0.019 Loaded shared library C:\Program Files\Java\jdk-21.0.2\bin\jsvml.dll
Event: 0.102 Loaded shared library C:\Program Files\Java\jdk-21.0.2\bin\zip.dll
Event: 0.104 Loaded shared library C:\Program Files\Java\jdk-21.0.2\bin\instrument.dll
Event: 0.106 Loaded shared library C:\Program Files\Java\jdk-21.0.2\bin\net.dll
Event: 0.106 Loaded shared library C:\Program Files\Java\jdk-21.0.2\bin\nio.dll
Event: 0.108 Loaded shared library C:\Program Files\Java\jdk-21.0.2\bin\zip.dll
Event: 0.160 Loaded shared library C:\Program Files\Java\jdk-21.0.2\bin\jimage.dll
Event: 0.184 Loaded shared library C:\Program Files\Java\jdk-21.0.2\bin\verify.dll
Event: 0.273 Loaded shared library C:\Users\Speiger\AppData\Local\Temp\lwjgl_Speiger\3.3.3+5\x64\lwjgl.dll
Event: 0.285 Loaded shared library C:\Users\Speiger\AppData\Local\Temp\lwjgl_Speiger\3.3.3+5\x64\lwjgl_opengl.dll
Deoptimization events (20 events):
Event: 0.190 Thread 0x000001d409ea15e0 DEOPT PACKING pc=0x000001d4149a41c3 sp=0x00000025656f80a0
Event: 0.190 Thread 0x000001d409ea15e0 DEOPT UNPACKING pc=0x000001d41bd988e2 sp=0x00000025656f7528 mode 0
Event: 0.191 Thread 0x000001d409ea15e0 DEOPT PACKING pc=0x000001d4149a41c3 sp=0x00000025656fba50
Event: 0.191 Thread 0x000001d409ea15e0 DEOPT UNPACKING pc=0x000001d41bd988e2 sp=0x00000025656faed8 mode 0
Event: 0.191 Thread 0x000001d409ea15e0 DEOPT PACKING pc=0x000001d4149a41c3 sp=0x00000025656f7f60
Event: 0.191 Thread 0x000001d409ea15e0 DEOPT UNPACKING pc=0x000001d41bd988e2 sp=0x00000025656f73e8 mode 0
Event: 0.192 Thread 0x000001d409ea15e0 DEOPT PACKING pc=0x000001d4149a41c3 sp=0x00000025656fb980
Event: 0.192 Thread 0x000001d409ea15e0 DEOPT UNPACKING pc=0x000001d41bd988e2 sp=0x00000025656fae08 mode 0
Event: 0.236 Thread 0x000001d409ea15e0 Uncommon trap: trap_request=0xffffff45 fr.pc=0x000001d41c4cc99c relative=0x0000000000000e1c
Event: 0.236 Thread 0x000001d409ea15e0 Uncommon trap: reason=unstable_if action=reinterpret pc=0x000001d41c4cc99c method=java.lang.String.<init>([CIILjava/lang/Void;)V @ 5 c2
Event: 0.236 Thread 0x000001d409ea15e0 DEOPT PACKING pc=0x000001d41c4cc99c sp=0x00000025656f9310
Event: 0.236 Thread 0x000001d409ea15e0 DEOPT UNPACKING pc=0x000001d41bd97da2 sp=0x00000025656f9140 mode 2
Event: 0.258 Thread 0x000001d409ea15e0 Uncommon trap: trap_request=0xffffff45 fr.pc=0x000001d41c4ca064 relative=0x0000000000000d64
Event: 0.258 Thread 0x000001d409ea15e0 Uncommon trap: reason=unstable_if action=reinterpret pc=0x000001d41c4ca064 method=java.lang.String.<init>([CIILjava/lang/Void;)V @ 5 c2
Event: 0.258 Thread 0x000001d409ea15e0 DEOPT PACKING pc=0x000001d41c4ca064 sp=0x00000025656fade0
Event: 0.258 Thread 0x000001d409ea15e0 DEOPT UNPACKING pc=0x000001d41bd97da2 sp=0x00000025656fac50 mode 2
Event: 0.269 Thread 0x000001d409ea15e0 Uncommon trap: trap_request=0xffffff45 fr.pc=0x000001d41c4a4594 relative=0x0000000000000074
Event: 0.269 Thread 0x000001d409ea15e0 Uncommon trap: reason=unstable_if action=reinterpret pc=0x000001d41c4a4594 method=java.io.WinNTFileSystem.isSlash(C)Z @ 9 c2
Event: 0.269 Thread 0x000001d409ea15e0 DEOPT PACKING pc=0x000001d41c4a4594 sp=0x00000025656fc560
Event: 0.269 Thread 0x000001d409ea15e0 DEOPT UNPACKING pc=0x000001d41bd97da2 sp=0x00000025656fc4f8 mode 2
Classes loaded (20 events):
Event: 0.290 Loading class java/nio/DirectFloatBufferU
Event: 0.290 Loading class java/nio/DirectFloatBufferU done
Event: 0.290 Loading class java/nio/DirectDoubleBufferU
Event: 0.290 Loading class java/nio/DirectDoubleBufferU done
Event: 0.290 Loading class sun/misc/Unsafe
Event: 0.290 Loading class sun/misc/Unsafe done
Event: 0.290 Loading class java/lang/invoke/DirectMethodHandle$StaticAccessor
Event: 0.290 Loading class java/lang/invoke/DirectMethodHandle$StaticAccessor done
Event: 0.292 Loading class java/util/function/LongPredicate
Event: 0.292 Loading class java/util/function/LongPredicate done
Event: 0.292 Loading class java/lang/foreign/MemorySegment
Event: 0.292 Loading class java/lang/foreign/MemorySegment done
Event: 0.294 Loading class java/nio/InvalidMarkException
Event: 0.294 Loading class java/nio/InvalidMarkException done
Event: 0.294 Loading class java/nio/BufferUnderflowException
Event: 0.294 Loading class java/nio/BufferUnderflowException done
Event: 0.300 Loading class jdk/internal/foreign/MemorySessionImpl
Event: 0.300 Loading class java/lang/foreign/MemorySegment$Scope
Event: 0.300 Loading class java/lang/foreign/MemorySegment$Scope done
Event: 0.300 Loading class jdk/internal/foreign/MemorySessionImpl done
Classes unloaded (0 events):
No events
Classes redefined (0 events):
No events
Internal exceptions (20 events):
Event: 0.251 Thread 0x000001d409ea15e0 Exception <a 'java/lang/NoSuchMethodError'{0x000000062ba97ad8}: 'java.lang.Object java.lang.invoke.DirectMethodHandle$Holder.invokeStatic(java.lang.Object, java.lang.Object, int)'> (0x000000062ba97ad8)
thrown [s\src\hotspot\share\interpreter\linkResolver.cpp, line 773]
Event: 0.251 Thread 0x000001d409ea15e0 Exception <a 'java/lang/NoSuchMethodError'{0x000000062baa2f28}: 'void java.lang.invoke.DelegatingMethodHandle$Holder.delegate(java.lang.Object, java.lang.Object, int, java.lang.Object)'> (0x000000062baa2f28)
thrown [s\src\hotspot\share\interpreter\linkResolver.cpp, line 773]
Event: 0.252 Thread 0x000001d409ea15e0 Exception <a 'java/lang/NoSuchMethodError'{0x000000062baa6c08}: 'int java.lang.invoke.DirectMethodHandle$Holder.invokeSpecial(java.lang.Object, java.lang.Object, java.lang.Object)'> (0x000000062baa6c08)
thrown [s\src\hotspot\share\interpreter\linkResolver.cpp, line 773]
Event: 0.254 Thread 0x000001d409ea15e0 Exception <a 'java/lang/NoSuchMethodError'{0x000000062bac2e28}: 'void java.lang.System.loadLibrary(java.lang.String, java.lang.Class)'> (0x000000062bac2e28)
thrown [s\src\hotspot\share\interpreter\linkResolver.cpp, line 773]
Event: 0.261 Thread 0x000001d409ea15e0 Exception <a 'java/lang/NoSuchMethodError'{0x000000062bbac6a8}: 'void java.lang.System.load(java.lang.String, java.lang.Class)'> (0x000000062bbac6a8)
thrown [s\src\hotspot\share\interpreter\linkResolver.cpp, line 773]
Event: 0.262 Thread 0x000001d409ea15e0 Exception <a 'java/lang/NoSuchMethodError'{0x000000062bbaf060}: 'void java.lang.System.loadLibrary(java.lang.String, java.lang.Class)'> (0x000000062bbaf060)
thrown [s\src\hotspot\share\interpreter\linkResolver.cpp, line 773]
Event: 0.272 Thread 0x000001d409ea15e0 Exception <a 'sun/nio/fs/WindowsException'{0x000000062b459320}> (0x000000062b459320)
thrown [s\src\hotspot\share\prims\jni.cpp, line 520]
Event: 0.272 Thread 0x000001d409ea15e0 Exception <a 'sun/nio/fs/WindowsException'{0x000000062b459680}> (0x000000062b459680)
thrown [s\src\hotspot\share\prims\jni.cpp, line 520]
Event: 0.284 Thread 0x000001d409ea15e0 Exception <a 'sun/nio/fs/WindowsException'{0x000000062b4bf078}> (0x000000062b4bf078)
thrown [s\src\hotspot\share\prims\jni.cpp, line 520]
Event: 0.284 Thread 0x000001d409ea15e0 Exception <a 'sun/nio/fs/WindowsException'{0x000000062b4bf430}> (0x000000062b4bf430)
thrown [s\src\hotspot\share\prims\jni.cpp, line 520]
Event: 0.287 Thread 0x000001d409ea15e0 Exception <a 'sun/nio/fs/WindowsException'{0x000000062b4cb508}> (0x000000062b4cb508)
thrown [s\src\hotspot\share\prims\jni.cpp, line 520]
Event: 0.287 Thread 0x000001d409ea15e0 Exception <a 'sun/nio/fs/WindowsException'{0x000000062b4cb7f8}> (0x000000062b4cb7f8)
thrown [s\src\hotspot\share\prims\jni.cpp, line 520]
Event: 0.292 Thread 0x000001d409ea15e0 Exception <a 'java/lang/NoSuchMethodError'{0x000000062b5ba7c8}: 'int java.lang.invoke.DirectMethodHandle$Holder.invokeStaticInit(java.lang.Object, java.lang.Object, int, long)'> (0x000000062b5ba7c8)
thrown [s\src\hotspot\share\interpreter\linkResolver.cpp, line 773]
Event: 0.292 Thread 0x000001d409ea15e0 Exception <a 'java/lang/NoSuchMethodError'{0x000000062b5bfaa0}: 'java.lang.Object java.lang.invoke.DirectMethodHandle$Holder.newInvokeSpecial(java.lang.Object, java.lang.Object, int)'> (0x000000062b5bfaa0)
thrown [s\src\hotspot\share\interpreter\linkResolver.cpp, line 773]
Event: 0.293 Thread 0x000001d409ea15e0 Exception <a 'java/lang/NoSuchMethodError'{0x000000062b5ddb70}: 'int java.lang.invoke.DirectMethodHandle$Holder.invokeStaticInit(java.lang.Object, java.lang.Object, long, long)'> (0x000000062b5ddb70)
thrown [s\src\hotspot\share\interpreter\linkResolver.cpp, line 773]
Event: 0.293 Thread 0x000001d409ea15e0 Exception <a 'java/lang/NoSuchMethodError'{0x000000062b5e3300}: 'java.lang.Object java.lang.invoke.DirectMethodHandle$Holder.newInvokeSpecial(java.lang.Object, java.lang.Object, long)'> (0x000000062b5e3300)
thrown [s\src\hotspot\share\interpreter\linkResolver.cpp, line 773]
Event: 0.293 Thread 0x000001d409ea15e0 Exception <a 'java/lang/NoSuchMethodError'{0x000000062b5e6bf8}: 'java.lang.Object java.lang.invoke.Invokers$Holder.linkToTargetMethod(java.lang.Object, long, java.lang.Object)'> (0x000000062b5e6bf8)
thrown [s\src\hotspot\share\interpreter\linkResolver.cpp, line 773]
Event: 0.293 Thread 0x000001d409ea15e0 Exception <a 'java/lang/NoSuchMethodError'{0x000000062b5edf30}: 'int java.lang.invoke.DirectMethodHandle$Holder.invokeStaticInit(java.lang.Object, java.lang.Object, java.lang.Object, long)'> (0x000000062b5edf30)
thrown [s\src\hotspot\share\interpreter\linkResolver.cpp, line 773]
Event: 0.301 Thread 0x000001d409ea15e0 Exception <a 'sun/nio/fs/WindowsException'{0x000000062b6e5dc8}> (0x000000062b6e5dc8)
thrown [s\src\hotspot\share\prims\jni.cpp, line 520]
Event: 0.301 Thread 0x000001d409ea15e0 Exception <a 'sun/nio/fs/WindowsException'{0x000000062b6e6178}> (0x000000062b6e6178)
thrown [s\src\hotspot\share\prims\jni.cpp, line 520]
ZGC Phase Switch (0 events):
No events
VM Operations (12 events):
Event: 0.036 Executing VM operation: HandshakeAllThreads (Deoptimize)
Event: 0.036 Executing VM operation: HandshakeAllThreads (Deoptimize) done
Event: 0.097 Executing VM operation: ChangeBreakpoints
Event: 0.097 Executing VM operation: ChangeBreakpoints done
Event: 0.250 Executing VM operation: HandshakeAllThreads (Deoptimize)
Event: 0.250 Executing VM operation: HandshakeAllThreads (Deoptimize) done
Event: 0.269 Executing VM operation: HandshakeAllThreads (Deoptimize)
Event: 0.269 Executing VM operation: HandshakeAllThreads (Deoptimize) done
Event: 0.272 Executing VM operation: HandshakeAllThreads (Deoptimize)
Event: 0.272 Executing VM operation: HandshakeAllThreads (Deoptimize) done
Event: 0.308 Executing VM operation: G1CollectForAllocation (G1 Evacuation Pause)
Event: 0.311 Executing VM operation: G1CollectForAllocation (G1 Evacuation Pause) done
Events (17 events):
Event: 0.011 Thread 0x000001d409ea15e0 Thread added: 0x000001d409ea15e0
Event: 0.019 Thread 0x000001d4309a6f20 Thread added: 0x000001d4309a6f20
Event: 0.019 Thread 0x000001d4309a7e40 Thread added: 0x000001d4309a7e40
Event: 0.019 Thread 0x000001d4309aa060 Thread added: 0x000001d4309aa060
Event: 0.019 Thread 0x000001d4309acbc0 Thread added: 0x000001d4309acbc0
Event: 0.019 Thread 0x000001d4309b5720 Thread added: 0x000001d4309b5720
Event: 0.019 Thread 0x000001d4309b6a90 Thread added: 0x000001d4309b6a90
Event: 0.019 Thread 0x000001d4309c2670 Thread added: 0x000001d4309c2670
Event: 0.019 Thread 0x000001d4309c5620 Thread added: 0x000001d4309c5620
Event: 0.034 Thread 0x000001d4319f8670 Thread added: 0x000001d4319f8670
Event: 0.036 Thread 0x000001d431a5f9f0 Thread added: 0x000001d431a5f9f0
Event: 0.037 Thread 0x000001d431a628d0 Thread added: 0x000001d431a628d0
Event: 0.045 Thread 0x000001d431b186d0 Thread added: 0x000001d431b186d0
Event: 0.045 Thread 0x000001d431b19780 Thread added: 0x000001d431b19780
Event: 0.045 Thread 0x000001d431c1e460 Thread added: 0x000001d431c1e460
Event: 0.120 Thread 0x000001d431c8ab60 Thread added: 0x000001d431c8ab60
Event: 0.181 Thread 0x000001d47745abd0 Thread added: 0x000001d47745abd0
Dynamic libraries:
0x00007ff6f2530000 - 0x00007ff6f253e000 C:\Program Files\Java\jdk-21.0.2\bin\javaw.exe
0x00007ffb5ab50000 - 0x00007ffb5ad48000 C:\Windows\SYSTEM32\ntdll.dll
0x00007ffb59740000 - 0x00007ffb59801000 C:\Windows\System32\KERNEL32.DLL
0x00007ffb582e0000 - 0x00007ffb585d6000 C:\Windows\System32\KERNELBASE.dll
0x00007ffb58a50000 - 0x00007ffb58b50000 C:\Windows\System32\ucrtbase.dll
0x00007ffb31eb0000 - 0x00007ffb31ec8000 C:\Program Files\Java\jdk-21.0.2\bin\jli.dll
0x00007ffb31c90000 - 0x00007ffb31cab000 C:\Program Files\Java\jdk-21.0.2\bin\VCRUNTIME140.dll
0x00007ffb594c0000 - 0x00007ffb5965f000 C:\Windows\System32\USER32.dll
0x00007ffb58b50000 - 0x00007ffb58b72000 C:\Windows\System32\win32u.dll
0x00007ffb58e10000 - 0x00007ffb58e3b000 C:\Windows\System32\GDI32.dll
0x00007ffb43c50000 - 0x00007ffb43eea000 C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.19041.4355_none_60b8b9eb71f62e16\COMCTL32.dll
0x00007ffb58790000 - 0x00007ffb588a7000 C:\Windows\System32\gdi32full.dll
0x00007ffb58920000 - 0x00007ffb589bd000 C:\Windows\System32\msvcp_win.dll
0x00007ffb59a80000 - 0x00007ffb59b1e000 C:\Windows\System32\msvcrt.dll
0x00007ffb58c60000 - 0x00007ffb58c8f000 C:\Windows\System32\IMM32.DLL
0x00007ffb33380000 - 0x00007ffb3338c000 C:\Program Files\Java\jdk-21.0.2\bin\vcruntime140_1.dll
0x00007ffb30010000 - 0x00007ffb3009e000 C:\Program Files\Java\jdk-21.0.2\bin\msvcp140.dll
0x00007ffa916a0000 - 0x00007ffa92423000 C:\Program Files\Java\jdk-21.0.2\bin\server\jvm.dll
0x00007ffb58c90000 - 0x00007ffb58d40000 C:\Windows\System32\ADVAPI32.dll
0x00007ffb591a0000 - 0x00007ffb59240000 C:\Windows\System32\sechost.dll
0x00007ffb59240000 - 0x00007ffb59363000 C:\Windows\System32\RPCRT4.dll
0x00007ffb58200000 - 0x00007ffb58227000 C:\Windows\System32\bcrypt.dll
0x00007ffb5a120000 - 0x00007ffb5a18b000 C:\Windows\System32\WS2_32.dll
0x00007ffb51b20000 - 0x00007ffb51b2a000 C:\Windows\SYSTEM32\VERSION.dll
0x00007ffb4be60000 - 0x00007ffb4be87000 C:\Windows\SYSTEM32\WINMM.dll
0x00007ffb57610000 - 0x00007ffb5765b000 C:\Windows\SYSTEM32\POWRPROF.dll
0x00007ffb575b0000 - 0x00007ffb575c2000 C:\Windows\SYSTEM32\UMPDC.dll
0x00007ffb56060000 - 0x00007ffb56072000 C:\Windows\SYSTEM32\kernel.appcore.dll
0x00007ffb31c80000 - 0x00007ffb31c8a000 C:\Program Files\Java\jdk-21.0.2\bin\jimage.dll
0x00007ffb50120000 - 0x00007ffb50304000 C:\Windows\SYSTEM32\DBGHELP.DLL
0x00007ffb35460000 - 0x00007ffb35494000 C:\Windows\SYSTEM32\dbgcore.DLL
0x00007ffb589c0000 - 0x00007ffb58a42000 C:\Windows\System32\bcryptPrimitives.dll
0x00007ffb24b00000 - 0x00007ffb24b3c000 C:\Program Files\Java\jdk-21.0.2\bin\jdwp.dll
0x00007ffb31b00000 - 0x00007ffb31b0f000 C:\Program Files\Java\jdk-21.0.2\bin\instrument.dll
0x00007ffb31a80000 - 0x00007ffb31a9f000 C:\Program Files\Java\jdk-21.0.2\bin\java.dll
0x00007ffb5a3a0000 - 0x00007ffb5ab0c000 C:\Windows\System32\SHELL32.dll
0x00007ffb56260000 - 0x00007ffb569fe000 C:\Windows\SYSTEM32\windows.storage.dll
0x00007ffb58e40000 - 0x00007ffb59193000 C:\Windows\System32\combase.dll
0x00007ffb57b40000 - 0x00007ffb57b6e000 C:\Windows\SYSTEM32\Wldp.dll
0x00007ffb58d40000 - 0x00007ffb58e0d000 C:\Windows\System32\OLEAUT32.dll
0x00007ffb59370000 - 0x00007ffb5941d000 C:\Windows\System32\SHCORE.dll
0x00007ffb59810000 - 0x00007ffb59865000 C:\Windows\System32\shlwapi.dll
0x00007ffb58130000 - 0x00007ffb58154000 C:\Windows\SYSTEM32\profapi.dll
0x00007ffad29b0000 - 0x00007ffad2a87000 C:\Program Files\Java\jdk-21.0.2\bin\jsvml.dll
0x00007ffb31340000 - 0x00007ffb3134c000 C:\Program Files\Java\jdk-21.0.2\bin\dt_socket.dll
0x00007ffb575d0000 - 0x00007ffb5760b000 C:\Windows\SYSTEM32\IPHLPAPI.DLL
0x00007ffb57920000 - 0x00007ffb5798a000 C:\Windows\system32\mswsock.dll
0x00007ffb57660000 - 0x00007ffb5772a000 C:\Windows\SYSTEM32\DNSAPI.dll
0x00007ffb59870000 - 0x00007ffb59878000 C:\Windows\System32\NSI.dll
0x00007ffb3e870000 - 0x00007ffb3e87a000 C:\Windows\System32\rasadhlp.dll
0x00007ffb4e4a0000 - 0x00007ffb4e520000 C:\Windows\System32\fwpuclnt.dll
0x00007ffb31320000 - 0x00007ffb31338000 C:\Program Files\Java\jdk-21.0.2\bin\zip.dll
0x00007ffb31150000 - 0x00007ffb31160000 C:\Program Files\Java\jdk-21.0.2\bin\net.dll
0x00007ffb524e0000 - 0x00007ffb525ea000 C:\Windows\SYSTEM32\WINHTTP.dll
0x00007ffb30fb0000 - 0x00007ffb30fc6000 C:\Program Files\Java\jdk-21.0.2\bin\nio.dll
0x00007ffb31080000 - 0x00007ffb31090000 C:\Program Files\Java\jdk-21.0.2\bin\verify.dll
0x00007ffb122d0000 - 0x00007ffb1234b000 C:\Users\Speiger\AppData\Local\Temp\lwjgl_Speiger\3.3.3+5\x64\lwjgl.dll
0x00007ffb12da0000 - 0x00007ffb12dfe000 C:\Users\Speiger\AppData\Local\Temp\lwjgl_Speiger\3.3.3+5\x64\lwjgl_opengl.dll
0x00007ffaba880000 - 0x00007ffaba9a8000 C:\Windows\SYSTEM32\opengl32.dll
0x00007ffaceb60000 - 0x00007ffaceb8c000 C:\Windows\SYSTEM32\GLU32.dll
0x00007ffa91430000 - 0x00007ffa916a0000 C:\Users\Speiger\AppData\Local\Temp\lwjgl_Speiger\3.3.3+5\x64\jemalloc.dll
dbghelp: loaded successfully - version: 4.0.5 - missing functions: none
symbol engine: initialized successfully - sym options: 0x614 - pdb path: .;C:\Program Files\Java\jdk-21.0.2\bin;C:\Windows\SYSTEM32;C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.19041.4355_none_60b8b9eb71f62e16;C:\Program Files\Java\jdk-21.0.2\bin\server;C:\Users\Speiger\AppData\Local\Temp\lwjgl_Speiger\3.3.3+5\x64
VM Arguments:
jvm_args: -XX:+ShowCodeDetailsInExceptionMessages -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:53183 -javaagent:C:\Users\Speiger\eclipse\java-2024-03\eclipse\configuration\org.eclipse.osgi\251\0\.cp\lib\javaagent-shaded.jar -Dfile.encoding=UTF-8 -Dstdout.encoding=UTF-8 -Dstderr.encoding=UTF-8
java_command: speiger.src.coreengine.NewInputTest
java_class_path (initial): D:\Projects\SimpleJavaEngine\bin\main;C:\Users\Speiger\.gradle\caches\modules-2\files-2.1\org.lwjgl\lwjgl-glfw\3.3.3\efa1eb78c5ccd840e9f329717109b5e892d72f8e\lwjgl-glfw-3.3.3.jar;C:\Users\Speiger\.gradle\caches\modules-2\files-2.1\org.lwjgl\lwjgl-glfw\3.3.3\e449e28b4891fc423c54c85fbc5bb0b9efece67a\lwjgl-glfw-3.3.3-natives-windows.jar;C:\Users\Speiger\.gradle\caches\modules-2\files-2.1\org.lwjgl\lwjgl-jemalloc\3.3.3\b543467b7ff3c6920539a88ee602d34098628be5\lwjgl-jemalloc-3.3.3.jar;C:\Users\Speiger\.gradle\caches\modules-2\files-2.1\org.lwjgl\lwjgl-jemalloc\3.3.3\426222fc027602a5f21b9c0fe79cde6a4c7a011f\lwjgl-jemalloc-3.3.3-natives-windows.jar;C:\Users\Speiger\.gradle\caches\modules-2\files-2.1\org.lwjgl\lwjgl-nanovg\3.3.3\37f0b9fc142948c3b2c6cd563db7233b14b9640c\lwjgl-nanovg-3.3.3.jar;C:\Users\Speiger\.gradle\caches\modules-2\files-2.1\org.lwjgl\lwjgl-nanovg\3.3.3\ccfbc346c4ce0737b7fe758d6337a3741af2f256\lwjgl-nanovg-3.3.3-natives-windows.jar;C:\Users\Speiger\.gradle\caches\modules-2\files-2.1\org.lwjgl\lwjgl-nfd\3.3.3\f1b41d3a0a2f5cd2a55a6a59a618c87d0348681c\lwjgl-nfd-3.3.3.jar;C:\Users\Speiger\.gradle\caches\modules-2\files-2.1\org.lwjgl\lwjgl-nfd\3.3.3\3a39132eef695dcb7631adc1d02e493527940d10\lwjgl-nfd-3.3.3-natives-windows.jar;C:\Users\Speiger\.gradle\caches\modules-2\files-2.1\org.lwjgl\lwjgl-openal\3.3.3\daada81ceb5fc0c291fbfdd4433cb8d9423577f2\lwjgl-openal-3.3.3.jar;C:\Users\Speiger\.gradle\caches\modules-2\files-2.1\org.lwjgl\lwjgl-openal\3.3.3\cf83862ae95d98496b26915024c7e666d8ab1c8f\lwjgl-openal-3.3.3-natives-windows.jar;C:\Users\Speiger\.gradle\caches\modules-2\files-2.1\org.lwjgl\lwjgl-opengl\3.3.3\2f6b0147078396a58979125a4c947664e98293a\lwjgl-opengl-3.3.3.jar;C:\Users\Speiger\.gradle\caches\modules-2\files-2.1\org.lwjgl\lwjgl-opengl\3.3.3\e6c1eec8be8a71951b830a4d69efc01c6531900c\lwjgl-opengl-3.3.3-natives-windows.jar;C:\Users\Speiger\.gradle\caches\modules-2\files-2.1\org.lwjgl\lwjgl-stb\3.3.3\25dd6161988d7e65f71d5065c99902402ee32746\lwjgl-stb-3.3.3.jar;C:\Users\Speiger\.gradle\caches\modules-2\files-2.1\org.lwjgl\lwjgl-stb\3.3.3\1d9facdf6541de114b0f963be33505b7679c78cb\lwjgl-stb-3.3.3-natives-windows.jar;C:\Users\Speiger\.gradle\caches\modules-2\files-2.1\org.lwjgl\lwjgl\3.3.3\29589b5f87ed335a6c7e7ee6a5775f81f97ecb84\lwjgl-3.3.3.jar;C:\Users\Speiger\.gradle\caches\modules-2\files-2.1\org.lwjgl\lwjgl\3.3.3\a5ed18a2b82fc91b81f40d717cb1f64c9dcb0540\lwjgl-3.3.3-natives-windows.jar;C:\Users\Speiger\.gradle\caches\modules-2\files-2.1\com.google.code.gson\gson\2.8.6\9180733b7df8542621dc12e21e87557e8c99b8cb\gson-2.8.6.jar;C:\Users\Speiger\.gradle\caches\modules-2\files-2.1\de.speiger\Primitive-Collections\0.9.0\bb19d168cf9d2b6f8743af70ceea8cad0d469372\Primitive-Collections-0.9.0.jar
Launcher Type: SUN_STANDARD
[Global flags]
intx CICompilerCount = 12 {product} {ergonomic}
uint ConcGCThreads = 5 {product} {ergonomic}
uint G1ConcRefinementThreads = 18 {product} {ergonomic}
size_t G1HeapRegionSize = 4194304 {product} {ergonomic}
uintx GCDrainStackTargetSize = 64 {product} {ergonomic}
size_t InitialHeapSize = 524288000 {product} {ergonomic}
size_t MarkStackSize = 4194304 {product} {ergonomic}
size_t MaxHeapSize = 8363442176 {product} {ergonomic}
size_t MaxNewSize = 5016387584 {product} {ergonomic}
size_t MinHeapDeltaBytes = 4194304 {product} {ergonomic}
size_t MinHeapSize = 8388608 {product} {ergonomic}
uintx NonNMethodCodeHeapSize = 7602480 {pd product} {ergonomic}
uintx NonProfiledCodeHeapSize = 122027880 {pd product} {ergonomic}
uintx ProfiledCodeHeapSize = 122027880 {pd product} {ergonomic}
uintx ReservedCodeCacheSize = 251658240 {pd product} {ergonomic}
bool SegmentedCodeCache = true {product} {ergonomic}
bool ShowCodeDetailsInExceptionMessages = true {manageable} {command line}
size_t SoftMaxHeapSize = 8363442176 {manageable} {ergonomic}
bool UseCompressedOops = true {product lp64_product} {ergonomic}
bool UseG1GC = true {product} {ergonomic}
bool UseLargePagesIndividualAllocation = false {pd product} {ergonomic}
Logging:
Log output configuration:
#0: stdout all=warning uptime,level,tags foldmultilines=false
#1: stderr all=off uptime,level,tags foldmultilines=false
Environment Variables:
PATH=C:\Program Files\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\PuTTY\;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\dotnet\;C:\Program Files\Git\cmd;C:\Program Files (x86)\gnupg\bin;C:\Users\Speiger\AppData\Local\Microsoft\WindowsApps;
USERNAME=Speiger
OS=Windows_NT
PROCESSOR_IDENTIFIER=AMD64 Family 25 Model 97 Stepping 2, AuthenticAMD
TMP=C:\Users\Speiger\AppData\Local\Temp
TEMP=C:\Users\Speiger\AppData\Local\Temp
Periodic native trim disabled
--------------- S Y S T E M ---------------
OS:
Windows 10 , 64 bit Build 19041 (10.0.19041.4597)
OS uptime: 0 days 5:40 hours
Hyper-V role detected
CPU: total 24 (initial active 24) (24 cores per cpu, 2 threads per core) family 25 model 97 stepping 2 microcode 0x0, cx8, cmov, fxsr, ht, mmx, 3dnowpref, sse, sse2, sse3, ssse3, sse4a, sse4.1, sse4.2, popcnt, lzcnt, tsc, tscinvbit, avx, avx2, aes, erms, clmul, bmi1, bmi2, adx, avx512f, avx512dq, avx512cd, avx512bw, avx512vl, sha, fma, vzeroupper, avx512_vpopcntdq, avx512_vpclmulqdq, avx512_vaes, avx512_vnni, clflush, clflushopt, avx512_vbmi2, avx512_vbmi, hv, rdtscp, rdpid, fsrm, gfni, avx512_bitalg, f16c, cet_ss, avx512_ifma
Processor Information for all 24 processors :
Max Mhz: 3701, Current Mhz: 3701, Mhz Limit: 3701
Memory: 4k page, system-wide physical 31894M (20253M free)
TotalPageFile size 37014M (AvailPageFile size 21194M)
current process WorkingSet (physical memory assigned to process): 81M, peak: 81M
current process commit charge ("private bytes"): 632M, peak: 632M
vm_info: OpenJDK 64-Bit Server VM (21.0.2+13-LTS) for windows-amd64 JRE (21.0.2+13-LTS), built on 2024-01-16T00:00:00Z by "admin" with unknown MS VC++:1937
END.

View File

@ -3,8 +3,8 @@ package speiger.src.coreengine;
import java.util.List;
import org.lwjgl.glfw.GLFW;
import org.lwjgl.opengl.GL;
import org.lwjgl.opengl.GL11;
import org.lwjgl.opengl.GL15;
import speiger.src.coreengine.assets.AssetLocation;
import speiger.src.coreengine.assets.AssetManager;
@ -16,10 +16,17 @@ import speiger.src.coreengine.rendering.input.devices.Keyboard;
import speiger.src.coreengine.rendering.input.devices.Mouse;
import speiger.src.coreengine.rendering.input.window.Window;
import speiger.src.coreengine.rendering.input.window.WindowManager;
import speiger.src.coreengine.rendering.models.buffers.BufferAttribute;
import speiger.src.coreengine.rendering.models.buffers.VertexArray;
import speiger.src.coreengine.rendering.shader.Shader;
import speiger.src.coreengine.rendering.shader.SimpleShader;
import speiger.src.coreengine.rendering.shader.uniform.base.TextureUniform;
import speiger.src.coreengine.rendering.tesselation.buffer.VertexBuilder;
import speiger.src.coreengine.rendering.tesselation.format.VertexTypes;
import speiger.src.coreengine.rendering.textures.custom.DynamicTexture;
import speiger.src.coreengine.rendering.utils.GLStateTracker;
import speiger.src.coreengine.rendering.utils.values.GLDataType;
import speiger.src.coreengine.rendering.utils.values.GLMode;
import speiger.src.coreengine.utils.eventbus.EventBus;
import speiger.src.coreengine.utils.helpers.IOUtils;
@ -46,11 +53,42 @@ public class NewInputTest {
Window window = manager.builder().title("Testing Engine").build();
shaderTest.register();
assets.addListener(GLStateTracker.instance().shaders);
assets.addListener(GLStateTracker.TEXTURE_TRACKER);
assets.reload(Runnable::run, Runnable::run);
System.out.println("Testing: "+GL.getCapabilities().OpenGL46);
DynamicTexture texture = new DynamicTexture(16, 16, DynamicTexture.DEFAULT_PARAMETERS);
texture.fill(0, 0, 16, 16, -1);
texture.fill(0, 0, 8, 8, 255, 0, 0, 255);
texture.fill(8, 0, 8, 8, 0, 255, 0, 255);
texture.fill(8, 8, 8, 8, 255, 0, 0, 255);
texture.fill(0, 8, 8, 8, 0, 0, 255, 255);
texture.process(true);
window.visible(true);
VertexBuilder builder = new VertexBuilder(255);
builder.start(GLMode.TRIANGLES, VertexTypes.TESTING);
builder.pos(-0.5F, -0.5F, 0).tex(0F, 1F).rgba(-1).endVertex();
builder.pos(0.5F, -0.5F, 0).tex(1F, 1F).rgba(-1).endVertex();
builder.pos(0.5F, 0.5F, 0).tex(1F, 0F).rgba(-1).endVertex();
builder.pos(0.5F, 0.5F, 0).tex(1F, 0F).rgba(-1).endVertex();
builder.pos(-0.5F, 0.5F, 0).tex(0F, 0F).rgba(-1).endVertex();
builder.pos(-0.5F, -0.5F, 0).tex(0F, 1F).rgba(-1).endVertex();
TestModel model = new TestModel(builder.getBytes());
GL11.glClearColor(0.2F, 0.55F, 0.66F, 1F);
while(!window.shouldClose()) {
GLFW.glfwPollEvents();
window.beginFrame();
GL11.glClear(GL11.GL_COLOR_BUFFER_BIT | GL11.GL_DEPTH_BUFFER_BIT);
shaderTest.bind();
shaderTest.get().texture.set(texture);
model.bindArray();
GLStateTracker.drawArrays(GLMode.TRIANGLES.glValue(), 6);
model.unbindArray();
window.handleInput();
window.finishFrame();
try { Thread.sleep(100); }
@ -66,4 +104,12 @@ public class NewInputTest {
super(provider, "testing_shader", AssetLocation.of("shader/testing/vertex.vs"), AssetLocation.of("shader/testing/fragment.fs"), "in_position", "in_tex", "in_color");
}
}
public static class TestModel extends VertexArray {
public TestModel(byte[] data) {
bind();
createBuffer(new BufferAttribute(0, 3), new BufferAttribute(1, 2), new BufferAttribute(2, 4, GLDataType.UNSIGNED_BYTE)).set(data).unbind();
unbind();
}
}
}

View File

@ -59,7 +59,7 @@ public class ZipAssetPackage implements IAssetPackage {
try(DirectoryStream<Path> dirs = Files.newDirectoryStream(system.getPath("assets"))) {
for(Path path : dirs) {
String s = path.getFileName().toString();
domains.add(s.substring(0, s.length() - 1));
domains.add(s.substring(0, s.length()));
}
}
catch(Exception e) {

View File

@ -63,7 +63,7 @@ public class Window {
flags.setFlag(CPU_FPS_CAP, builder.fpsCap);
createDefaultWindowHints();
GLFW.glfwWindowHint(GLFW.GLFW_SAMPLES, antialiasing);
GLFW.glfwWindowHint(GLFW.GLFW_RESIZABLE, flags.isFlagNotSet(RESIZABLE) ? GLFW.GLFW_TRUE : GLFW.GLFW_FALSE);
GLFW.glfwWindowHint(GLFW.GLFW_RESIZABLE, flags.isFlagSet(RESIZABLE) ? GLFW.GLFW_TRUE : GLFW.GLFW_FALSE);
GLFW.glfwWindowHint(GLFW.GLFW_DECORATED, flags.isFlagNotSet(FULL_SCREEN) && flags.isFlagSet(BORDERLESS) ? GLFW.GLFW_FALSE : GLFW.GLFW_TRUE);
GLFW.glfwWindowHint(GLFW.GLFW_FLOATING, flags.isFlagNotSet(FULL_SCREEN) && flags.isFlagSet(FLOATING) ? GLFW.GLFW_TRUE : GLFW.GLFW_FALSE);
GLFW.glfwWindowHint(GLFW.GLFW_MAXIMIZED, flags.isFlagNotSet(FULL_SCREEN) && flags.isFlagSet(MAXIMIZED) ? GLFW.GLFW_TRUE : GLFW.GLFW_FALSE);

View File

@ -7,6 +7,7 @@ import java.util.function.IntPredicate;
import org.lwjgl.opengl.GL20;
import org.lwjgl.opengl.GL41;
import org.lwjgl.opengl.GL45;
import org.lwjgl.opengl.GL46;
import org.lwjgl.system.MemoryUtil;
@ -30,6 +31,10 @@ public abstract class ShaderProgram {
public int id() { return id; }
public UniformManager getUniforms() { return uniforms; }
protected void setId(int id) {
this.id = id;
}
public void bind() {
GLStateTracker.instance().shaders.bind(this);
uniforms.bind();
@ -44,6 +49,7 @@ public abstract class ShaderProgram {
public void validateProgram() {
if(id == 0) return;
uniforms.validate();
GL46.glValidateProgram(id);
}
@ -60,6 +66,10 @@ public abstract class ShaderProgram {
GL20.glDeleteProgram(id);
return 0;
}
String error = GL45.glGetProgramInfoLog(id);
if(!error.isBlank()) {
System.out.println("Error: "+error);
}
return id;
}

View File

@ -9,8 +9,7 @@ import speiger.src.coreengine.rendering.utils.values.ShaderType;
public abstract class SimpleShader extends ShaderProgram {
public SimpleShader(IAssetProvider provider, String identifer, AssetLocation vertex, AssetLocation fragment, String...attributes) {
//TODO id is never set?
loadOrGenerateCache(identifer, provider.getLatestTime(vertex, fragment), id -> {
setId(loadOrGenerateCache(identifer, provider.getLatestTime(vertex, fragment), id -> {
int vId = loadShader(provider, vertex, ShaderType.VERTEX);
if(vId == -1) return false;
int fId = loadShader(provider, fragment, ShaderType.FRAGMENT);
@ -26,6 +25,6 @@ public abstract class SimpleShader extends ShaderProgram {
GL20.glDeleteShader(vId);
GL20.glDeleteShader(fId);
return true;
});
}));
}
}

View File

@ -81,6 +81,12 @@ public class UniformManager {
return uniform;
}
public void validate() {
for(int i = 0,m=uniforms.size();i<m;i++) {
uniforms.get(i).registerShader(owner);
}
}
public void bind() {
if(autoUniforms.isEmpty()) return;
for(int i = 0,m=autoUniforms.size();i<m;i++) {

View File

@ -4,6 +4,7 @@ import org.lwjgl.opengl.GL41;
import speiger.src.coreengine.rendering.shader.uniform.IAutoUniform;
import speiger.src.coreengine.rendering.shader.uniform.Uniform;
import speiger.src.coreengine.rendering.textures.base.ITexture;
import speiger.src.coreengine.rendering.utils.AllocationTracker;
import speiger.src.coreengine.rendering.utils.GLStateTracker;
@ -16,6 +17,10 @@ public class TextureUniform extends Uniform implements IAutoUniform {
this.unit = unit;
}
public TextureUniform set(ITexture texture) {
return set(texture.id());
}
public TextureUniform set(int id) {
if(this.value != id) {
this.value = id;

View File

@ -12,4 +12,5 @@ public class VertexTypes {
public static final VertexFormat POS_RGB_3D = VertexFormat.builder().add(POSITION_3D).add(RGB).build();
public static final VertexFormat POS_RGBA_3D = VertexFormat.builder().add(POSITION_3D).add(RGBA).build();
public static final VertexFormat TESTING = VertexFormat.builder().add(POSITION_3D).add(TEXTURE).add(RGBA).build();
}

View File

@ -8,9 +8,7 @@ import speiger.src.coreengine.rendering.utils.values.textures.GLTextureType;
public abstract class BaseTexture implements ITexture {
protected int id;
protected BaseTexture() {
track();
}
protected BaseTexture() {}
protected BaseTexture(int id) {
this.id = id;
@ -18,7 +16,8 @@ public abstract class BaseTexture implements ITexture {
}
protected void createTexture() {
this.id = GLFunctions.createTexture(textureType());
this.id = GLFunctions.createTexture();
bind();
}
protected IGLValue textureType() {

View File

@ -1,10 +1,9 @@
package speiger.src.coreengine.rendering.textures.base;
import org.lwjgl.opengl.GL45;
import speiger.src.collections.longs.lists.LongArrayList;
import speiger.src.collections.longs.lists.LongList;
import speiger.src.coreengine.math.BitUtil;
import speiger.src.coreengine.rendering.utils.GLFunctions;
import speiger.src.coreengine.rendering.utils.values.IGLValue;
import speiger.src.coreengine.rendering.utils.values.IGLValue.IGLDataType;
import speiger.src.coreengine.rendering.utils.values.IGLValue.ITextureFormatType;
@ -20,10 +19,10 @@ public class TextureMetadata {
private TextureMetadata() {}
public void applyArguments(int texture) {
public void applyArguments(IGLValue textureType) {
for(int i = 0,m=arguments.size();i<m;i++) {
long value = arguments.getLong(i);
GL45.glTextureParameteri(texture, BitUtil.intKey(value), BitUtil.intValue(value));
GLFunctions.textureParameter(textureType.glValue(), BitUtil.intKey(value), BitUtil.intValue(value));
}
}

View File

@ -1,6 +1,5 @@
package speiger.src.coreengine.rendering.textures.custom;
import org.lwjgl.opengl.GL45;
import org.lwjgl.system.MemoryUtil;
import speiger.src.collections.ints.collections.IntIterator;
@ -11,11 +10,17 @@ import speiger.src.coreengine.math.BitUtil;
import speiger.src.coreengine.math.misc.ColorSpaces;
import speiger.src.coreengine.rendering.textures.base.BaseTexture;
import speiger.src.coreengine.rendering.textures.base.TextureMetadata;
import speiger.src.coreengine.rendering.utils.GLFunctions;
import speiger.src.coreengine.rendering.utils.GLStateTracker;
import speiger.src.coreengine.rendering.utils.values.GLDataType;
import speiger.src.coreengine.rendering.utils.values.textures.GLTextureFormat;
import speiger.src.coreengine.rendering.utils.values.textures.GLTextureParameter;
import speiger.src.coreengine.rendering.utils.values.textures.GLTextureValue;
public class DynamicTexture extends BaseTexture implements IDynamicTexture {
public static final TextureMetadata DEFAULT_PARAMETERS = TextureMetadata.builder()
.arguement(GLTextureParameter.MIN_FILTER, GLTextureValue.NEAREST).arguement(GLTextureParameter.MAG_FILTER, GLTextureValue.NEAREST)
.arguement(GLTextureParameter.WRAP_S, GLTextureValue.CLAMP_TO_EDGE).arguement(GLTextureParameter.WRAP_T, GLTextureValue.CLAMP_TO_EDGE).build();
IntSet dirtySections = new IntLinkedOpenHashSet();
TextureMetadata metadata;
int width;
@ -28,14 +33,14 @@ public class DynamicTexture extends BaseTexture implements IDynamicTexture {
this.height = height;
if(width % 16 != 0 || height % 16 != 0) throw new IllegalArgumentException("Texture must be a power of 16");
data = MemoryUtil.nmemAllocChecked(4L * width * height);
track();
}
@Override
public void load(IAssetProvider provider) {
createTexture();
metadata.applyArguments(id);
GL45.glTextureStorage2D(id, 1, GLTextureFormat.RGBA.glValue(), width, height);
GL45.nglTextureSubImage2D(id, 0, 0, 0, width, height, GLTextureFormat.RGBA.glValue(), GLDataType.UNSIGNED_BYTE.glValue(), data);
metadata.applyArguments(textureType());
GLFunctions.upload2DImage(textureType(), 0, GLTextureFormat.RGBA, width, height, 0, GLTextureFormat.RGBA, GLDataType.UNSIGNED_BYTE, data);
dirtySections.clear();
}
@ -59,30 +64,32 @@ public class DynamicTexture extends BaseTexture implements IDynamicTexture {
@Override
public void process(boolean full) {
bind();
if(full) {
GL45.nglTextureSubImage2D(id, 0, 0, 0, width, height, GLTextureFormat.RGBA.glValue(), GLDataType.UNSIGNED_BYTE.glValue(), data);
GLFunctions.upload2DImage(textureType(), 0, GLTextureFormat.RGBA, width, height, 0, GLTextureFormat.RGBA, GLDataType.UNSIGNED_BYTE, data);
dirtySections.clear();
return;
}
GLStateTracker.instance().unpack_row_length.set(width());
GLStateTracker tracker = GLStateTracker.instance();
tracker.unpack_row_length.set(width());
Thread thread = Thread.currentThread();
for(IntIterator iter = dirtySections.iterator();iter.hasNext() && !thread.isInterrupted();iter.remove()) {
int key = iter.nextInt();
uploadPixels(BitUtil.shortKey(key) * 16, BitUtil.shortValue(key) * 16);
uploadPixels(tracker, BitUtil.shortKey(key) * 16, BitUtil.shortValue(key) * 16);
}
GLStateTracker.instance().unpack_row_length.setDefault();
GLStateTracker.instance().unpack_skip_pixel.setDefault();
GLStateTracker.instance().unpack_skip_rows.setDefault();
tracker.unpack_row_length.setDefault();
tracker.unpack_skip_pixel.setDefault();
tracker.unpack_skip_rows.setDefault();
}
protected void uploadPixels(int x, int y) {
GLStateTracker.instance().unpack_skip_pixel.set(x);
GLStateTracker.instance().unpack_skip_rows.set(y);
GL45.nglTextureSubImage2D(id, 0, x, y, 16, 16, GLTextureFormat.RGBA.glValue(), GLDataType.UNSIGNED_BYTE.glValue(), data);
protected void uploadPixels(GLStateTracker tracker, int x, int y) {
tracker.unpack_skip_pixel.set(x);
tracker.unpack_skip_rows.set(y);
GLFunctions.upload2DSubImage(textureType(), 0, x, y, 16, 16, GLTextureFormat.RGBA, GLDataType.UNSIGNED_BYTE, data);
}
protected long offset(int x, int y) {
return ((y * width()) + x) << 2;
return ((y * width()) + x) << 2L;
}
protected void ensureValid(int index) {
@ -91,7 +98,7 @@ public class DynamicTexture extends BaseTexture implements IDynamicTexture {
protected void ensureValid(int x, int y) {
if(x < 0 || y < 0) throw new ArrayIndexOutOfBoundsException("Index out of bounds: X=["+x+"], Y=["+y+"]");
if(x >= width || y >= height) throw new ArrayIndexOutOfBoundsException("Index out of bounds: X=["+x+"], Y=["+y+"], width=["+width+"], height=["+height+"]");
if(x > width || y > height) throw new ArrayIndexOutOfBoundsException("Index out of bounds: X=["+x+"], Y=["+y+"], width=["+width+"], height=["+height+"]");
if(data == 0L) throw new IllegalStateException("Texture Data isn't bound");
}
@ -99,8 +106,10 @@ public class DynamicTexture extends BaseTexture implements IDynamicTexture {
public void fill(int x, int y, int width, int height, int data) {
ensureValid(x, y);
ensureValid(x+width, y+height);
for(int yOff = 0;yOff<height;yOff++) {
MemoryUtil.memSet(offset(x, y+yOff), data, width * 4L);
for(int xOff = 0;xOff<width;xOff++) {
for(int yOff = 0;yOff<height;yOff++) {
MemoryUtil.memPutInt(this.data + offset(x+xOff, y+yOff), data);
}
}
if(id() == 0) return;
for(int i = x>>4,m=width>>4;i<m;i++) {
@ -120,65 +129,65 @@ public class DynamicTexture extends BaseTexture implements IDynamicTexture {
@Override
public void set(int index, int data) {
ensureValid(index);
MemoryUtil.memPutInt(index * 4L, data);
MemoryUtil.memPutInt(this.data + index * 4L, data);
dirty(index);
}
@Override
public void setR(int index, int red) {
ensureValid(index);
MemoryUtil.memPutByte(index * 4L, (byte)(red & 0xFF));
MemoryUtil.memPutByte(data + index * 4L, (byte)(red & 0xFF));
dirty(index);
}
@Override
public void setG(int index, int green) {
ensureValid(index);
MemoryUtil.memPutByte(index * 4L + 1L, (byte)(green & 0xFF));
MemoryUtil.memPutByte(data + index * 4L + 1L, (byte)(green & 0xFF));
dirty(index);
}
@Override
public void setB(int index, int blue) {
ensureValid(index);
MemoryUtil.memPutByte(index * 4L + 2L, (byte)(blue & 0xFF));
MemoryUtil.memPutByte(data + index * 4L + 2L, (byte)(blue & 0xFF));
dirty(index);
}
@Override
public void setA(int index, int alpha) {
ensureValid(index);
MemoryUtil.memPutByte(index * 4L + 3L, (byte)(alpha & 0xFF));
MemoryUtil.memPutByte(data + index * 4L + 3L, (byte)(alpha & 0xFF));
dirty(index);
}
@Override
public int get(int index) {
ensureValid(index);
return MemoryUtil.memGetInt(index * 4L);
return MemoryUtil.memGetInt(data + index * 4L);
}
@Override
public int getR(int index) {
ensureValid(index);
return MemoryUtil.memGetByte(index * 4L);
return MemoryUtil.memGetByte(data + index * 4L);
}
@Override
public int getG(int index) {
ensureValid(index);
return MemoryUtil.memGetByte(index * 4L + 1L);
return MemoryUtil.memGetByte(data + index * 4L + 1L);
}
@Override
public int getB(int index) {
ensureValid(index);
return MemoryUtil.memGetByte(index * 4L + 2L);
return MemoryUtil.memGetByte(data + index * 4L + 2L);
}
@Override
public int getA(int index) {
ensureValid(index);
return MemoryUtil.memGetByte(index * 4L + 3L);
return MemoryUtil.memGetByte(data + index * 4L + 3L);
}
}

View File

@ -1,12 +1,12 @@
package speiger.src.coreengine.rendering.textures.simple;
import org.lwjgl.opengl.GL45;
import org.lwjgl.stb.STBImage;
import org.lwjgl.system.MemoryUtil;
import speiger.src.coreengine.assets.base.IAssetProvider;
import speiger.src.coreengine.rendering.textures.base.BaseTexture;
import speiger.src.coreengine.rendering.textures.base.TextureMetadata;
import speiger.src.coreengine.rendering.utils.GLFunctions;
public class DirectTexture extends BaseTexture {
int width;
@ -19,6 +19,7 @@ public class DirectTexture extends BaseTexture {
this.height = height;
this.imageData = imageData;
this.metadata = metadata;
track();
}
@Override
@ -47,9 +48,8 @@ public class DirectTexture extends BaseTexture {
private void loadTexture() {
createTexture();
metadata.applyArguments(id);
GL45.glTextureStorage2D(id, 1, metadata.getInternalFormat(), width, height);
GL45.glTextureSubImage2D(id, 0, 0, 0, width, height, metadata.getExternalFormat(), metadata.getDataFormat(), imageData);
if(metadata.generateMipMappings()) GL45.glGenerateTextureMipmap(id);
metadata.applyArguments(textureType());
GLFunctions.upload2DImage(textureType(), 0, metadata, width, height, 0, imageData);
if(metadata.generateMipMappings()) GLFunctions.generateMipMaps(textureType());
}
}

View File

@ -3,7 +3,7 @@ package speiger.src.coreengine.rendering.textures.simple;
import java.io.IOException;
import java.nio.ByteBuffer;
import org.lwjgl.opengl.GL45;
import org.lwjgl.opengl.GL11;
import org.lwjgl.stb.STBImage;
import org.lwjgl.system.MemoryUtil;
@ -13,10 +13,17 @@ import speiger.src.coreengine.assets.base.IAssetProvider;
import speiger.src.coreengine.assets.parsers.NativeMemoryParser;
import speiger.src.coreengine.rendering.textures.base.BaseTexture;
import speiger.src.coreengine.rendering.textures.base.TextureMetadata;
import speiger.src.coreengine.rendering.utils.GLFunctions;
import speiger.src.coreengine.rendering.utils.values.GLDataType;
import speiger.src.coreengine.rendering.utils.values.textures.GLTextureFormat;
import speiger.src.coreengine.rendering.utils.values.textures.GLTextureParameter;
import speiger.src.coreengine.rendering.utils.values.textures.GLTextureValue;
public class SimpleTexture extends BaseTexture {
public static final TextureMetadata DEFAULT_DATA = TextureMetadata.builder()
.externalFormat(GLTextureFormat.RGBA).internalFormat(GLTextureFormat.RGBA).dataFormat(GLDataType.UNSIGNED_BYTE).mipmapping(false)
.arguement(GLTextureParameter.MIN_FILTER, GLTextureValue.NEAREST).arguement(GLTextureParameter.MAG_FILTER, GLTextureValue.NEAREST)
.arguement(GLTextureParameter.WRAP_S, GLTextureValue.CLAMP_TO_EDGE).arguement(GLTextureParameter.WRAP_T, GLTextureValue.CLAMP_TO_EDGE).build();
AssetLocation location;
TextureMetadata metadata;
int width;
@ -25,12 +32,13 @@ public class SimpleTexture extends BaseTexture {
public SimpleTexture(AssetLocation location, TextureMetadata metadata) {
this.location = location;
this.metadata = metadata;
track();
}
@Override
public void load(IAssetProvider provider) {
long address = 0L;
int channel = GLTextureFormat.stbComponents(metadata.getExternalFormat());
int channel = GLTextureFormat.stbComponents(GL11.GL_RGBA);
try(IAsset asset = provider.getAsset(location)) {
ByteBuffer buffer = asset.custom(NativeMemoryParser.INSTANCE);
int[] width = new int[1];
@ -50,10 +58,9 @@ public class SimpleTexture extends BaseTexture {
}
if(address == 0L) return;
createTexture();
metadata.applyArguments(id);
GL45.glTextureStorage2D(id, 1, metadata.getInternalFormat(), width, height);
GL45.nglTextureSubImage2D(id, 0, 0, 0, width, height, GLTextureFormat.bySTB(channel).glValue(), GLDataType.UNSIGNED_BYTE.glValue(), address);
if(metadata.generateMipMappings()) GL45.glGenerateTextureMipmap(id);
metadata.applyArguments(textureType());
GLFunctions.upload2DImage(textureType(), 0, metadata, width, height, 0, address);
if(metadata.generateMipMappings()) GLFunctions.generateMipMaps(textureType());
STBImage.nstbi_image_free(address);
}

View File

@ -1,20 +1,63 @@
package speiger.src.coreengine.rendering.utils;
import org.lwjgl.opengl.GL11;
import org.lwjgl.opengl.GL45;
import org.lwjgl.opengl.GL15;
import org.lwjgl.opengl.GL30;
import speiger.src.coreengine.rendering.textures.base.TextureMetadata;
import speiger.src.coreengine.rendering.utils.values.IGLValue;
import speiger.src.coreengine.rendering.utils.values.IGLValue.IGLDataType;
import speiger.src.coreengine.rendering.utils.values.IGLValue.ITextureFormatType;
import speiger.src.coreengine.rendering.utils.values.IGLValue.ITextureParameter;
public class GLFunctions {
public static int createTexture(IGLValue value) {
return GL45.glCreateTextures(value.glValue());
public static int createTexture() {
return GL11.glGenTextures();
}
public static void deleteTextures(int... id) {
GL11.glDeleteTextures(id);
}
public static void textureParameter(IGLValue type, ITextureParameter parameter, IGLValue value) {
textureParameter(type, parameter, value.glValue());
}
public static void textureParameter(IGLValue type, ITextureParameter parameter, int value) {
if(!parameter.isValid(value)) throw new IllegalArgumentException("Value ["+value+"] isn't supported for GL Function ["+parameter.glValue()+"], only int functions are supported with this");
textureParameter(type.glValue(), parameter.glValue(), value);
}
public static void textureParameter(int type, int parameter, int value) {
GL15.glTexParameteri(type, parameter, value);
}
public static void upload2DImage(IGLValue target, int mipmaps, TextureMetadata metadata, int width, int height, int border, long pixels) {
upload2DImage(target.glValue(), mipmaps, metadata.getInternalFormat(), width, width, border, metadata.getExternalFormat(), metadata.getDataFormat(), pixels);
}
public static void upload2DImage(IGLValue target, int mipmaps, ITextureFormatType internalFormat, int width, int height, int border, ITextureFormatType externalFormat, IGLDataType data, long pixels) {
upload2DImage(target.glValue(), mipmaps, internalFormat.glValue(), width, height, border, externalFormat.glValue(), data.glValue(), pixels);
}
public static void upload2DImage(int target, int mipmaps, int internalFormat, int width, int height, int border, int externalFormat, int dataFormat, long pixels) {
GL11.glTexImage2D(target, mipmaps, internalFormat, width, height, border, externalFormat, dataFormat, pixels);
}
public static void upload2DSubImage(IGLValue target, int level, int xoffset, int yoffset, int width, int height, ITextureFormatType format, IGLDataType type, long pixels) {
upload2DSubImage(target.glValue(), level, xoffset, yoffset, width, height, format.glValue(), type.glValue(), pixels);
}
public static void upload2DSubImage(int target, int level, int xOffset, int yOffset, int width, int height, int format, int type, long pixels) {
GL15.nglTexSubImage2D(target, level, xOffset, yOffset, width, height, format, type, pixels);
}
public static void generateMipMaps(IGLValue type) {
GL30.glGenerateMipmap(type.glValue());
}
public static void pixelStoreI(int mode, int value) {
GL11.glPixelStorei(mode, value);
}

View File

@ -11,7 +11,7 @@ public class TextureState implements IGLState {
public TextureState bind(int unit, int texture) {
if(textures[unit] != texture) {
this.textures[unit] = texture;
GL45.glBindTextureUnit(GL20.GL_TEXTURE0 + unit, texture);
GL45.glBindTextureUnit(unit, texture);
}
return this;
}

View File

@ -6,7 +6,6 @@ import org.lwjgl.opengl.GL30;
import org.lwjgl.opengl.GL31;
import org.lwjgl.opengl.GL32;
import org.lwjgl.opengl.GL40;
import org.lwjgl.opengl.GL46;
import speiger.src.coreengine.rendering.utils.values.IGLValue;
@ -31,7 +30,6 @@ public enum GLTextureType implements IGLValue {
@Override
public int glValue() {
GL46.glBindTexture(glValue, glValue);
return glValue;
}

View File

@ -29,8 +29,7 @@ public class IOUtils
public static Path getBaseLocation() {
try {
Path path = Paths.get(IOUtils.class.getProtectionDomain().getCodeSource().getLocation().toURI());
if(!path.toString().endsWith(".jar")) return path;
return Paths.get(IOUtils.class.getProtectionDomain().getCodeSource().getLocation().toURI());
}
catch(Exception e) { e.printStackTrace(); }
return Paths.get(".");