orm fixe
continuous-integration/drone/push Build is failing Details

Api_Game_Endpoints
David D'ALMEIDA 2 years ago
parent 0c2b386056
commit e1c6895a69

@ -10,6 +10,5 @@
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="Dart SDK" level="project" />
<orderEntry type="library" name="Dart Packages" level="project" />
</component>
</module>

@ -1,484 +0,0 @@
<component name="libraryTable">
<library name="Dart Packages" type="DartPackagesLibraryType">
<properties>
<option name="packageNameToDirsMap">
<entry key="archive">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/archive-3.3.5/lib" />
</list>
</value>
</entry>
<entry key="args">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/args-2.3.2/lib" />
</list>
</value>
</entry>
<entry key="async">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/async-2.10.0/lib" />
</list>
</value>
</entry>
<entry key="boolean_selector">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/boolean_selector-2.1.1/lib" />
</list>
</value>
</entry>
<entry key="characters">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/characters-1.2.1/lib" />
</list>
</value>
</entry>
<entry key="checked_yaml">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/checked_yaml-2.0.2/lib" />
</list>
</value>
</entry>
<entry key="cli_util">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/cli_util-0.3.5/lib" />
</list>
</value>
</entry>
<entry key="clock">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/clock-1.1.1/lib" />
</list>
</value>
</entry>
<entry key="collection">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/collection-1.17.0/lib" />
</list>
</value>
</entry>
<entry key="convert">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/convert-3.1.1/lib" />
</list>
</value>
</entry>
<entry key="crypto">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/crypto-3.0.2/lib" />
</list>
</value>
</entry>
<entry key="cupertino_icons">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/cupertino_icons-1.0.5/lib" />
</list>
</value>
</entry>
<entry key="fake_async">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/fake_async-1.3.1/lib" />
</list>
</value>
</entry>
<entry key="ffi">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/ffi-2.0.1/lib" />
</list>
</value>
</entry>
<entry key="file">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/file-6.1.4/lib" />
</list>
</value>
</entry>
<entry key="flutter">
<value>
<list>
<option value="$PROJECT_DIR$/../../../../src/flutter/packages/flutter/lib" />
</list>
</value>
</entry>
<entry key="flutter_launcher_icons">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_launcher_icons-0.11.0/lib" />
</list>
</value>
</entry>
<entry key="flutter_lints">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_lints-2.0.1/lib" />
</list>
</value>
</entry>
<entry key="flutter_test">
<value>
<list>
<option value="$PROJECT_DIR$/../../../../src/flutter/packages/flutter_test/lib" />
</list>
</value>
</entry>
<entry key="flutter_web_plugins">
<value>
<list>
<option value="$PROJECT_DIR$/../../../../src/flutter/packages/flutter_web_plugins/lib" />
</list>
</value>
</entry>
<entry key="go_router">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/go_router-6.0.1/lib" />
</list>
</value>
</entry>
<entry key="google_fonts">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/google_fonts-3.0.1/lib" />
</list>
</value>
</entry>
<entry key="http">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/http-0.13.5/lib" />
</list>
</value>
</entry>
<entry key="http_parser">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/http_parser-4.0.2/lib" />
</list>
</value>
</entry>
<entry key="image">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/image-3.3.0/lib" />
</list>
</value>
</entry>
<entry key="js">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/js-0.6.5/lib" />
</list>
</value>
</entry>
<entry key="json_annotation">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/json_annotation-4.8.0/lib" />
</list>
</value>
</entry>
<entry key="lints">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/lints-2.0.1/lib" />
</list>
</value>
</entry>
<entry key="logging">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/logging-1.1.0/lib" />
</list>
</value>
</entry>
<entry key="matcher">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/matcher-0.12.13/lib" />
</list>
</value>
</entry>
<entry key="material_color_utilities">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/material_color_utilities-0.2.0/lib" />
</list>
</value>
</entry>
<entry key="meta">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/meta-1.8.0/lib" />
</list>
</value>
</entry>
<entry key="path">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/path-1.8.2/lib" />
</list>
</value>
</entry>
<entry key="path_provider">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/path_provider-2.0.12/lib" />
</list>
</value>
</entry>
<entry key="path_provider_android">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/path_provider_android-2.0.22/lib" />
</list>
</value>
</entry>
<entry key="path_provider_foundation">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/path_provider_foundation-2.1.0/lib" />
</list>
</value>
</entry>
<entry key="path_provider_linux">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/path_provider_linux-2.1.7/lib" />
</list>
</value>
</entry>
<entry key="path_provider_platform_interface">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/path_provider_platform_interface-2.0.5/lib" />
</list>
</value>
</entry>
<entry key="path_provider_windows">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/path_provider_windows-2.1.3/lib" />
</list>
</value>
</entry>
<entry key="petitparser">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/petitparser-5.1.0/lib" />
</list>
</value>
</entry>
<entry key="platform">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/platform-3.1.0/lib" />
</list>
</value>
</entry>
<entry key="plugin_platform_interface">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/plugin_platform_interface-2.1.3/lib" />
</list>
</value>
</entry>
<entry key="pointycastle">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/pointycastle-3.6.2/lib" />
</list>
</value>
</entry>
<entry key="process">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/process-4.2.4/lib" />
</list>
</value>
</entry>
<entry key="simple_gradient_text">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/simple_gradient_text-1.2.4/lib" />
</list>
</value>
</entry>
<entry key="sky_engine">
<value>
<list>
<option value="$PROJECT_DIR$/../../../../src/flutter/bin/cache/pkg/sky_engine/lib" />
</list>
</value>
</entry>
<entry key="source_span">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/source_span-1.9.1/lib" />
</list>
</value>
</entry>
<entry key="stack_trace">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/stack_trace-1.11.0/lib" />
</list>
</value>
</entry>
<entry key="stream_channel">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/stream_channel-2.1.1/lib" />
</list>
</value>
</entry>
<entry key="string_scanner">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/string_scanner-1.2.0/lib" />
</list>
</value>
</entry>
<entry key="term_glyph">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/term_glyph-1.2.1/lib" />
</list>
</value>
</entry>
<entry key="test_api">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/test_api-0.4.16/lib" />
</list>
</value>
</entry>
<entry key="typed_data">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/typed_data-1.3.1/lib" />
</list>
</value>
</entry>
<entry key="uuid">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/uuid-3.0.7/lib" />
</list>
</value>
</entry>
<entry key="vector_math">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/vector_math-2.1.4/lib" />
</list>
</value>
</entry>
<entry key="win32">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/win32-3.1.3/lib" />
</list>
</value>
</entry>
<entry key="xdg_directories">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/xdg_directories-0.2.0+3/lib" />
</list>
</value>
</entry>
<entry key="xml">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/xml-6.1.0/lib" />
</list>
</value>
</entry>
<entry key="yaml">
<value>
<list>
<option value="$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/yaml-3.1.1/lib" />
</list>
</value>
</entry>
</option>
</properties>
<CLASSES>
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/archive-3.3.5/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/args-2.3.2/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/async-2.10.0/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/boolean_selector-2.1.1/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/characters-1.2.1/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/checked_yaml-2.0.2/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/cli_util-0.3.5/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/clock-1.1.1/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/collection-1.17.0/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/convert-3.1.1/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/crypto-3.0.2/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/cupertino_icons-1.0.5/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/fake_async-1.3.1/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/ffi-2.0.1/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/file-6.1.4/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_launcher_icons-0.11.0/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_lints-2.0.1/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/go_router-6.0.1/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/google_fonts-3.0.1/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/http-0.13.5/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/http_parser-4.0.2/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/image-3.3.0/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/js-0.6.5/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/json_annotation-4.8.0/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/lints-2.0.1/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/logging-1.1.0/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/matcher-0.12.13/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/material_color_utilities-0.2.0/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/meta-1.8.0/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/path-1.8.2/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/path_provider-2.0.12/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/path_provider_android-2.0.22/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/path_provider_foundation-2.1.0/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/path_provider_linux-2.1.7/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/path_provider_platform_interface-2.0.5/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/path_provider_windows-2.1.3/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/petitparser-5.1.0/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/platform-3.1.0/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/plugin_platform_interface-2.1.3/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/pointycastle-3.6.2/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/process-4.2.4/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/simple_gradient_text-1.2.4/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/source_span-1.9.1/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/stack_trace-1.11.0/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/stream_channel-2.1.1/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/string_scanner-1.2.0/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/term_glyph-1.2.1/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/test_api-0.4.16/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/typed_data-1.3.1/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/uuid-3.0.7/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/vector_math-2.1.4/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/win32-3.1.3/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/xdg_directories-0.2.0+3/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/xml-6.1.0/lib" />
<root url="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.dev/yaml-3.1.1/lib" />
<root url="file://$PROJECT_DIR$/../../../../src/flutter/bin/cache/pkg/sky_engine/lib" />
<root url="file://$PROJECT_DIR$/../../../../src/flutter/packages/flutter/lib" />
<root url="file://$PROJECT_DIR$/../../../../src/flutter/packages/flutter_test/lib" />
<root url="file://$PROJECT_DIR$/../../../../src/flutter/packages/flutter_web_plugins/lib" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>

@ -0,0 +1,85 @@
package org.acme.Api.DTO;
import java.util.Date;
import java.util.List;
import org.acme.Hibernates.entities.GameEntity;
import org.acme.Hibernates.entities.ParticipeEntity;
import io.quarkus.hibernate.reactive.panache.common.ProjectedFieldName;
import io.quarkus.runtime.annotations.RegisterForReflection;
import io.quarkus.runtime.annotations.RegisterForReflection;
import java.time.LocalDate;
import java.util.List;
@RegisterForReflection
public class GameDto {
private List<ParticipeDto> players;
private LocalDate date;
private Long hostID;
private List<RoundDto> rounds;
public GameDto() {
}
public GameDto(List<ParticipeDto> players, LocalDate date, Long hostID,
List<RoundDto> rounds) {
this.players = players;
this.date = date;
this.hostID = hostID;
this.rounds = rounds;
}
public List<ParticipeDto> getPlayers() {
return players;
}
public void setPlayers(List<ParticipeDto> players) {
this.players = players;
}
public LocalDate getDate() {
return date;
}
public void setDate(LocalDate date) {
this.date = date;
}
public Long getHostID() {
return hostID;
}
public void setHostID(Long hostID) {
this.hostID = hostID;
}
public List<RoundDto> getRounds() {
return rounds;
}
public void setRounds(List<RoundDto> rounds) {
this.rounds = rounds;
}
}
// @RegisterForReflection
// public class GameDto {
// public Long id;
// private Date time;
// private Long winner;
// private int nbPoints;
// // public UserDto host;
// public List<ParticipeEntity> participants;
// public GameDto() { // @ProjectedFieldName("host") UserDto owner
// // this.owner = owner;
// }
// }

@ -0,0 +1,52 @@
package org.acme.Api.DTO;
import java.util.UUID;
import org.acme.Hibernates.entities.ParticipeEntity;
import org.acme.Hibernates.entities.ParticipeId;
import org.eclipse.microprofile.openapi.annotations.media.Schema;
import io.quarkus.runtime.annotations.RegisterForReflection;
@RegisterForReflection
public class ParticipeDto {
@Schema(description = "Composite primary key of the entity")
public ParticipeId id;
@Schema(description = "Position of the player in the game")
public int position;
public Long idUser;
@Schema(description = "Name of the guest")
public String guestName;
@Schema(description = "Total points of the player in the game")
public int totalPoints;
@Schema(description = "The Game entity that this Participe belongs to")
public GameDto game;
@Schema(description = "The User entity that this Participe belongs to")
public UserDTO user;
public ParticipeDto() {
}
public ParticipeDto(ParticipeEntity entity) {
this.id = entity.id;
this.position = entity.id.position;
this.idUser = entity.user.id;
this.guestName = entity.guestName;
this.totalPoints = entity.totalPoints;
// if (entity.getGame() != null) {
// this.game = new GameDto(entity.getGame());
// }
// if (entity.getUser() != null) {
// this.user = new UserDTO(entity.getUser());
// }
}
}

@ -0,0 +1,64 @@
package org.acme.Api.DTO;
import io.quarkus.runtime.annotations.RegisterForReflection;
@RegisterForReflection
public class RoundDto {
private int playerPosition;
private int turn;
private int pinsFirstThrow;
private int pinsSecondThrow;
private int points;
public RoundDto() {
}
public RoundDto(int playerPosition, int turn, int pinsFirstThrow, int
pinsSecondThrow, int points) {
this.playerPosition = playerPosition;
this.turn = turn;
this.pinsFirstThrow = pinsFirstThrow;
this.pinsSecondThrow = pinsSecondThrow;
this.points = points;
}
public int getPlayerPosition() {
return playerPosition;
}
public void setPlayerPosition(int playerPosition) {
this.playerPosition = playerPosition;
}
public int getTurn() {
return turn;
}
public void setTurn(int turn) {
this.turn = turn;
}
public int getPinsFirstThrow() {
return pinsFirstThrow;
}
public void setPinsFirstThrow(int pinsFirstThrow) {
this.pinsFirstThrow = pinsFirstThrow;
}
public int getPinsSecondThrow() {
return pinsSecondThrow;
}
public void setPinsSecondThrow(int pinsSecondThrow) {
this.pinsSecondThrow = pinsSecondThrow;
}
public int getPoints() {
return points;
}
public void setPoints(int points) {
this.points = points;
}
}

@ -0,0 +1,27 @@
package org.acme.Api.DTO;
import io.quarkus.hibernate.reactive.panache.common.ProjectedFieldName;
import io.quarkus.runtime.annotations.RegisterForReflection;
import org.acme.Hibernates.entities.UserStatsEntity;
import org.eclipse.microprofile.openapi.annotations.media.Schema;
@RegisterForReflection
@Schema(description = "A DTO for transferring user details")
public class UserDTO {
public Long id;
public String name;
public UserStatsDTO stats;
public UserDTO(Long id, String name,
@ProjectedFieldName("stats.nbVictories") Long nbVictories,
@ProjectedFieldName("stats.nbGames") Long nbGames,
@ProjectedFieldName("stats.highscore") Long highscore,
@ProjectedFieldName("stats.nbStrikes") Long nbStrikes,
@ProjectedFieldName("stats.nbSpares") Long nbSpares,
@ProjectedFieldName("stats.avgScore") Double avgScore,
@ProjectedFieldName("stats.avgPinsPerRound") Double avgPinsPerRound) {
this.id = id;
this.name = name;
this.stats = new UserStatsDTO(nbVictories, nbGames, highscore, nbStrikes, nbSpares, avgScore, avgPinsPerRound);
}
}

@ -0,0 +1,30 @@
package org.acme.Api.DTO;
import io.quarkus.runtime.annotations.RegisterForReflection;
import org.acme.Hibernates.entities.UserStatsEntity;
import org.eclipse.microprofile.openapi.annotations.media.Schema;
import org.hibernate.annotations.ColumnDefault;
@RegisterForReflection
@Schema(description = "A DTO describing the stats of a User")
public class UserStatsDTO {
public Long nbVictories;
public Long nbGames;
public Long highscore;
public Long nbStrikes;
public Long nbSpares;
public Double avgScore;
public Double avgPinsPerRound;
public UserStatsDTO(Long nbVictories, Long nbGames, Long highscore, Long nbStrikes, Long nbSpares, Double avgScore,
Double avgPinsPerRound) {
this.nbVictories = nbVictories;
this.nbGames = nbGames;
this.highscore = highscore;
this.nbStrikes = nbStrikes;
this.nbSpares = nbSpares;
this.avgScore = avgScore;
this.avgPinsPerRound = avgPinsPerRound;
}
}

@ -0,0 +1,16 @@
package org.acme.Api.DTO;
import io.quarkus.hibernate.reactive.panache.common.ProjectedFieldName;
import io.quarkus.runtime.annotations.RegisterForReflection;
import org.eclipse.microprofile.openapi.annotations.media.Schema;
@RegisterForReflection
@Schema(description = "A minimal DTO for transferring user information")
public class UserTinyDTO {
public Long id;
public String name;
public UserTinyDTO(Long id, String name) {
this.id = id;
this.name = name;
}
}

@ -0,0 +1,91 @@
package org.acme.Api.controllers;
import java.net.URI;
import java.util.List;
import javax.enterprise.context.ApplicationScoped;
import javax.inject.Inject;
import javax.transaction.Transactional;
import javax.ws.rs.Consumes;
import javax.ws.rs.DELETE;
import javax.ws.rs.GET;
import javax.ws.rs.NotFoundException;
import javax.ws.rs.POST;
import javax.ws.rs.PUT;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.WebApplicationException;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import javax.ws.rs.core.Response.Status;
import org.acme.Api.DTO.GameDto;
import org.acme.Api.service.GameService;
import org.acme.Hibernates.entities.GameEntity;
import org.acme.Hibernates.entities.UserEntity;
import org.jboss.logging.Logger;
import io.quarkus.hibernate.reactive.panache.common.runtime.ReactiveTransactional;
import io.quarkus.panache.common.Sort;
import io.smallrye.mutiny.Uni;
@ApplicationScoped
@Produces(MediaType.APPLICATION_JSON)
@Consumes(MediaType.APPLICATION_JSON)
@Path("/games")
public class GameController {
private static final Logger LOGGER = Logger.getLogger(GameController.class.getName());
@Inject
GameService service;
@GET
public Uni<List<GameDto>> getUsers() {
LOGGER.info("Getting all game");
Uni<List<GameDto>> allGames = service.findAll().project(GameDto.class).list();
return allGames;
}
@GET
@Path("/{id}")
public Uni<Response> getGameById(@PathParam("/{id}") Long id) {
LOGGER.info("Get game with id : " + id);
return service.find("id", id).project(GameDto.class).list()
.onItem()
.transform(
entity -> entity == null ? Response.status(Status.NOT_FOUND) : Response.ok(entity).status(200))
.onItem().transform(Response.ResponseBuilder::build);
}
@POST
@ReactiveTransactional
public Uni<Response> createGame(GameEntity game) {
if (game == null) {
throw new WebApplicationException("user was invalidly set on request.", 422);
}
LOGGER.info("creating game: " + game.getId());
return service.persist(game)
.map(persistedGame -> Response
.created(URI.create("/game/" + game.id))
.entity(persistedGame)
.build())
.onFailure().recoverWithItem(Response.status(Status.BAD_REQUEST).build());
}
@DELETE
@Path("/{id}")
@ReactiveTransactional
public Uni<Response> delete(@PathParam("id") Long id) {
return service.deleteById(id)
.onItem().transform(entity -> !entity ? Response.status(Status.NOT_FOUND).build()
: Response.ok().status(200).build());
}
@GET
@Path("/count")
public Uni<Long> count() {
return service.count();
}
}

@ -20,8 +20,13 @@ import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import javax.ws.rs.core.Response.Status;
import io.quarkus.hibernate.reactive.panache.PanacheQuery;
import org.acme.Api.DTO.UserDTO;
import org.acme.Api.DTO.UserTinyDTO;
import org.acme.Api.service.UserService;
import org.acme.Hibernates.entities.UserEntity;
import org.eclipse.microprofile.openapi.annotations.Operation;
import org.eclipse.microprofile.openapi.annotations.responses.APIResponse;
import org.jboss.logging.Logger;
import io.quarkus.hibernate.reactive.panache.common.runtime.ReactiveTransactional;
@ -34,37 +39,25 @@ import io.smallrye.mutiny.Uni;
@Path("/users")
public class UserController {
private static final Logger LOGGER = Logger.getLogger(UserController.class.getName());
@Inject
UserService service;
@GET
@Operation(summary = "Get all users")
@Produces(MediaType.APPLICATION_JSON)
public Uni<List<UserEntity>> getUsers() {
LOGGER.info("Getting all users and ordering it by name");
Uni<List<UserEntity>> allUsers = service.listAll(Sort.by("name"));
return allUsers;
}
// @GET
// @Path("/{pseudo}")
// public Uni<UserEntity> getUser(@PathParam("pseudo") String pseudo) {
// Uni<UserEntity> user = service.getUserByName(pseudo);
// return user;
// }
@GET
@Produces(MediaType.TEXT_PLAIN)
@Path("/po")
public String hello() {
return "Hello from RESTEasy Reactive";
public Uni<List<UserTinyDTO>> getUsers() {
LOGGER.info("Get all users");
return service.findAll().project(UserTinyDTO.class).list();
}
@GET
@Operation(summary = "Get a user by ID")
@APIResponse(responseCode = "200", description = "OK")
@APIResponse(responseCode = "404", description = "User not found")
@Path("/{id}")
public Uni<Response> getUserById(@PathParam("id") Long id) {
LOGGER.info("Get user with id : " + id);
return service.findById(id)
return service.findByBowlinId(id)
.onItem()
.transform(
entity -> entity == null ? Response.status(Status.NOT_FOUND) : Response.ok(entity).status(200))
@ -73,6 +66,9 @@ public class UserController {
}
@POST
@Operation(summary = "Create a new User")
@APIResponse(responseCode = "201", description = "User successfully created")
@APIResponse(responseCode = "422", description = "User invalidly set on request")
@ReactiveTransactional
public Uni<Response> createUser(UserEntity user) {
if (user == null) {
@ -87,37 +83,14 @@ public class UserController {
.onFailure().recoverWithItem(Response.status(Status.BAD_REQUEST).build());
}
// @POST
// @ReactiveTransactional
// public Uni<Response> createUser(UserEntity user) {
// if (user == null) {
// throw new WebApplicationException("user was invalidly set on request.", 422);
// }
// LOGGER.info("creating user: " + user.getName());
// return service.persist(user)
// .map(persistedUser -> Response
// .status(Status.CREATED)
// .entity(persistedUser)
// .build())
// .onFailure().recoverWithItem(Response.status(Status.BAD_REQUEST).build());
// }
// @PUT
// @Path("/{id}")
// @ReactiveTransactional
// public Response updateUser(@PathParam("id") String id, User newUser) throws
// Exception {
// Uni<UserEntity> oldUser = service.findById(Long.valueOf(id));
// if (oldUser == null)
// throw new Exception("user not found");
// service.update(id, newUser);
// return Response.status(Status.OK).build();
// }
@PUT
@Operation(summary = "Update a User")
@APIResponse(responseCode = "200", description = "OK")
@APIResponse(responseCode = "404", description = "User not found")
@Path("/{id}")
@ReactiveTransactional
public Uni<Response> updateUser(@PathParam("id") Long id, UserEntity newUser) {
LOGGER.info("Update user with id : " + id);
return service.findById(id)
.onItem().ifNull().failWith(() -> new WebApplicationException("User not found", Status.NOT_FOUND))
.onItem().ifNotNull().invoke(oldUser -> {
@ -127,17 +100,23 @@ public class UserController {
}
@DELETE
@Operation(summary = "Delete a User")
@APIResponse(responseCode = "200", description = "User successfully deleted")
@APIResponse(responseCode = "404", description = "User not found")
@Path("/{id}")
@ReactiveTransactional
public Uni<Response> delete(@PathParam("id") Long id) {
LOGGER.info("Delete user with id : " + id);
return service.deleteById(id)
.onItem().transform(entity -> !entity ? Response.status(Status.NOT_FOUND).build()
: Response.ok().status(200).build());
}
@GET
@Operation(summary = "Get the number of users")
@Path("/count")
public Uni<Long> count() {
LOGGER.info("Get user count");
return service.count();
}
}

@ -0,0 +1,22 @@
package org.acme.Api.service;
import java.util.List;
import javax.enterprise.context.ApplicationScoped;
import org.acme.Api.DTO.GameDto;
import org.acme.Hibernates.entities.GameEntity;
import io.quarkus.hibernate.reactive.panache.PanacheRepository;
import io.smallrye.mutiny.Uni;
@ApplicationScoped
public class GameService implements PanacheRepository<GameEntity> {
public Uni<List<GameEntity>> findwithName(Long id) {
return list("id", id);
}
public Uni<List<GameDto>> findByIdGame(Long id) {
return find("id", id).project(GameDto.class).list();
}
}

@ -4,6 +4,7 @@ import java.util.List;
import javax.enterprise.context.ApplicationScoped;
import org.acme.Api.DTO.UserDTO;
import org.acme.Hibernates.entities.UserEntity;
import io.quarkus.hibernate.reactive.panache.PanacheRepository;
@ -19,6 +20,10 @@ public class UserService implements PanacheRepository<UserEntity> {
return list("name", name);
}
public Uni<List<UserDTO>> findByBowlinId(Long id) {
return find("id", id).project(UserDTO.class).list();
}
// public Uni<Long> deleteUser() {
// return delete("name", "Stef");
// }

@ -3,73 +3,68 @@ package org.acme.Hibernates.entities;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.UUID;
import javax.persistence.*;
// @Entity
// @Table(name = "games")
import org.hibernate.annotations.ColumnDefault;
@Entity
@Table(name = "games")
public class GameEntity {
@Id
@GeneratedValue
@GeneratedValue(strategy = GenerationType.IDENTITY)
public Long id;
@Column(length = 100)
private String name;
@Column(length = 100)
private String password;
private Date time;
@Temporal(TemporalType.TIMESTAMP)
@Column(nullable = false)
@ColumnDefault("CURRENT_TIMESTAMP")
public Date time = new Date();
private UUID winner;
@ColumnDefault("0")
public Long winner = 0L;
private int nbPoints;
@ColumnDefault("0")
public int nbPoints = 0;
private Boolean isFinished;
@ColumnDefault("false")
public Boolean isFinished = false;
// public List<Player> players = new ArrayList<Player>();
@ManyToOne
@JoinColumn(name = "host_id", referencedColumnName = "id")
public UserEntity ownerGame;
// public List<Round> rounds = new ArrayList<Round>();
// return name as uppercase in the model
public String getName() {
return name.toUpperCase();
public GameEntity() {
}
// store all names in lowercase in the DB
public void setName(String name) {
this.name = name.toLowerCase();
public GameEntity(UserEntity user) {
this.ownerGame = user;
}
public String getPassword() {
return password;
public Long getId() {
return this.id;
}
public void setPassword(String password) {
this.password = password.toLowerCase();
public void setId(Long id) {
this.id = id;
}
public Date getDate() {
return this.time;
}
// store all names in lowercase in the DB
public void setDate(Date time) {
this.time = time;
}
// store all names in lowercase in the DB
public void setWinner(UUID winner) {
public void setWinner(Long winner) {
this.winner = winner;
}
public UUID getWinner() {
public Long getWinner() {
return this.winner;
}
// store all names in lowercase in the DB
public void setNbPoints(int nbPoints) {
this.nbPoints = nbPoints;
}
@ -78,7 +73,6 @@ public class GameEntity {
return this.nbPoints;
}
// store all names in lowercase in the DB
public void setIsFinished(Boolean isFinished) {
this.isFinished = isFinished;
}
@ -87,7 +81,4 @@ public class GameEntity {
return this.isFinished;
}
@OneToMany(mappedBy = "game", cascade = CascadeType.ALL, orphanRemoval = true)
public List<RoundEntity> rounds = new ArrayList<>();
}

@ -0,0 +1,100 @@
package org.acme.Hibernates.entities;
import java.io.Serializable;
import javax.persistence.*;
import org.eclipse.microprofile.openapi.annotations.media.Schema;
// @Entity
// @Table(name = "participe")
// public class ParticipeEntity {
// // @EmbeddedId
// // @Schema(description = "Composite primary key of the entity")
// // private ParticipeId id;
// // @Id
// // @ManyToOne
// // @JoinColumn(name = "game_id", referencedColumnName = "id")
// // @Schema(description = "The Game entity that this Participe belongs to")
// // private GameEntity game;
// @Id
// @Schema(description = "The position of the player in the game")
// private int position2;
// @Id
// @Schema(description = "The position of the player in the game")
// private int position;
// @ManyToOne
// @JoinColumn(name = "id_user", referencedColumnName = "id")
// @Schema(description = "The User entity that this Participe belongs to")
// private UserEntity user;
// @Column(name = "guest_name")
// @Schema(description = "Name of the guest")
// private String guestName;
// @Column(name = "total_points")
// @Schema(description = "Total points of the player in the game")
// private int totalPoints;
// // @MapsId
// // @OneToOne
// // @JoinColumn(name = "user_id", referencedColumnName = "id", insertable =
// // false, updatable = false)
// // private UserEntity user;
// // public ParticipeId getId() {
// // return id;
// // }
// // public void setId(ParticipeId id) {
// // this.id = id;
// // }
// public String getGuestName() {
// return guestName;
// }
// public void setGuestName(String guestName) {
// this.guestName = guestName;
// }
// public int getTotalPoints() {
// return totalPoints;
// }
// public void setTotalPoints(int totalPoints) {
// this.totalPoints = totalPoints;
// }
// public UserEntity getUser() {
// return user;
// }
// public void setUser(UserEntity user) {
// this.user = user;
// }
// }
@Entity
@Table(name = "participe")
public class ParticipeEntity {
@EmbeddedId
public ParticipeId id;
@ManyToOne
@JoinColumn(name = "iduser", referencedColumnName = "id")
public UserEntity user;
/// luii
@ManyToOne
@JoinColumn(name = "idGame", referencedColumnName = "id", insertable = false, updatable = false)
public GameEntity game;
@Column(name = "guestname")
public String guestName;
@Column(name = "totalpoints")
public Integer totalPoints;
}

@ -0,0 +1,107 @@
package org.acme.Hibernates.entities;
import java.io.Serializable;
import java.util.Objects;
import javax.persistence.Column;
import javax.persistence.Embeddable;
// import javax.persistence.*;
// import javax.persistence.Embeddable;
// import javax.persistence.ManyToOne;
// import org.eclipse.microprofile.openapi.annotations.media.Schema;
// @Embeddable
// public class ParticipeId implements Serializable {
// // @Column(name = "game_id")
// // private Long gameId;
// // @Column(name = "position")
// // private int position;
// @Id
// @ManyToOne
// @JoinColumn(name = "game_id", referencedColumnName = "id")
// @Schema(description = "The Game entity that this Participe belongs to")
// private GameEntity game;
// @Id
// @Schema(description = "The position of the player in the game")
// private int position;
// // public ParticipeId() {
// // }
// // public ParticipeId(Long gameId, int position) {
// // this.gameId = gameId;
// // this.position = position;
// // }
// public GameEntity getGame() {
// return game;
// }
// public void setGame(GameEntity game) {
// this.game = game;
// }
// public int getPosition() {
// return position;
// }
// public void setPosition(int position) {
// this.position = position;
// }
// @Override
// public boolean equals(Object o) {
// if (this == o)
// return true;
// if (o == null || getClass() != o.getClass())
// return false;
// ParticipeId that = (ParticipeId) o;
// return position == that.position && game.equals(that.game);
// }
// @Override
// public int hashCode() {
// return Objects.hash(game, position);
// }
// }
@Embeddable
public class ParticipeId implements Serializable {
public static final long serialVersionUID = 1L;
@Column(name = "idGame")
public Long game;
@Column(name = "position")
public Integer position;
public ParticipeId() {
}
public ParticipeId(Long game, Integer position) {
this.game = game;
this.position = position;
}
@Override
public boolean equals(Object o) {
if (this == o)
return true;
if (!(o instanceof ParticipeId))
return false;
ParticipeId that = (ParticipeId) o;
return Objects.equals(game, that.game) &&
Objects.equals(position, that.position);
}
@Override
public int hashCode() {
return Objects.hash(game, position);
}
}

@ -1,34 +1,172 @@
package org.acme.Hibernates.entities;
import javax.persistence.Entity;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
import javax.persistence.*;
// @Entity
// public class RoundEntity {
// @Column(name = "first_throw")
// private int firstThrow;
// @Column(name = "second_throw")
// private int secondThrow;
// @Column(name = "points")
// private int points;
// @EmbeddedId
// // @ApiModelProperty(notes = "Composite primary key of the entity")
// private RoundId id;
// // @Id
// @Column(name = "turn_number")
// // @ApiModelProperty(notes = "The turn number in this Round")
// private int turnNumber;
// @ManyToOne
// @MapsId("gameid")
// // @ApiModelProperty(notes = "The Game entity that this Round belongs to")
// @JoinColumn(name = "game_id", referencedColumnName = "id", insertable =
// false, updatable = false)
// private GameEntity game;
// @ManyToOne
// @MapsId("playerPosition")
// @JoinColumns({
// @JoinColumn(name = "game_id", referencedColumnName = "id"),
// @JoinColumn(name = "player_position", referencedColumnName = "position")
// })
// // @ApiModelProperty(notes = "The Participe entity that represents the player
// in
// // this Round")
// private ParticipeEntity participant;
// public RoundEntity() {
// }
// public RoundEntity(RoundId roundId, ParticipeEntity participe, int
// turnNumber, int pinsFirstThrow,
// int pinsSecondThrow, int points) {
// this.id = roundId;
// this.participant = participe;
// this.turnNumber = turnNumber;
// this.firstThrow = pinsFirstThrow;
// this.secondThrow = pinsSecondThrow;
// this.points = points;
// }
// public int getFirstThrow() {
// return this.firstThrow;
// }
// public void setFirstThrow(int firstThrow) {
// this.secondThrow = firstThrow;
// }
// public int getturnNumber() {
// return this.turnNumber;
// }
// public void setturnNumber(int turnNumber) {
// this.turnNumber = turnNumber;
// }
// public int getSecondThrow() {
// return this.secondThrow;
// }
// public void setSecondThrow(int secondThrow) {
// this.secondThrow = secondThrow;
// }
// public int getPoints() {
// return this.points;
// }
// public void setPoints(int points) {
// this.points = points;
// }
// }
// @Entity
// @Table(name = "Round")
// @IdClass(RoundId.class)
// public class RoundEntity {
// // @Id
// // @ManyToOne
// // @JoinColumn(name = "idGame", referencedColumnName = "id")
// // @MapsId
// // public GameEntity game;
// // @Id
// // @MapsId
// // @ManyToOne
// // @JoinColumns({
// // @JoinColumn(name = "roundIdGame", referencedColumnName = "game"),
// // @JoinColumn(name = "roundPlayerPosition", referencedColumnName = "position")
// // })
// // public ParticipeEntity playerPosition;
// @Id
// @ManyToOne
// @JoinColumn(name = "idgame")
// @MapsId
// public GameEntity game;
// @Id
// @ManyToOne
// @JoinColumn(name = "playerposition", referencedColumnName = "position")
// @MapsId("participePosition")
// public ParticipeEntity participe;
// @Id
// @Column(name = "turnNumber")
// public Integer turnNumber;
// @Column(name = "points")
// public Integer points;
// // @OneToMany(mappedBy = "round", cascade = CascadeType.ALL, orphanRemoval =
// // true)
// // public List<ThrowEntity> throwsGame = new ArrayList<>();
// // constructors, getters and setters
// }
@Entity
@Table(name = "round")
public class RoundEntity {
private int firstThrow;
private int secondThrow;
private int points;
public int getFirstThrow() {
return this.firstThrow;
}
@EmbeddedId
public RoundId id;
public void setFirstThrow(int firstThrow) {
this.secondThrow = firstThrow;
}
@ManyToOne
@JoinColumn(name = "game_id", referencedColumnName = "id", insertable = false, updatable = false)
public GameEntity game;
public int getSecondThrow() {
return this.secondThrow;
}
@ManyToOne
@JoinColumns({
@JoinColumn(name = "idGame", referencedColumnName = "idGame", insertable = false, updatable = false),
@JoinColumn(name = "position", referencedColumnName = "position", insertable = false, updatable = false)
})
public ParticipeEntity participe;
public void setSecondThrow(int secondThrow) {
this.secondThrow = secondThrow;
}
@Column(name = "points")
public Integer points;
public int getPoints() {
return this.points;
@OneToMany(mappedBy = "round", cascade = CascadeType.ALL, orphanRemoval = true)
public List<ThrowEntity> throwsGame = new ArrayList<>();
public RoundEntity() {
}
public void setPoints(int points) {
this.points = points;
public RoundEntity(GameEntity game, ParticipeEntity participe) {
this.game = game;
this.participe = participe;
}
}

@ -0,0 +1,189 @@
package org.acme.Hibernates.entities;
import java.io.Serializable;
import java.util.Objects;
import javax.persistence.*;
// @Embeddable
// public class RoundId implements Serializable {
// @Column(name = "game_id")
// private Long gameId;
// @Column(name = "player_position")
// private int playerPosition;
// @Column(name = "turn_number")
// private int turnNumber;
// public RoundId() {
// }
// public RoundId(Long gameId, int playerPosition, int turnNumber) {
// this.gameId = gameId;
// this.playerPosition = playerPosition;
// this.turnNumber = turnNumber;
// }
// public Long getGameId() {
// return gameId;
// }
// public void setGameId(Long gameId) {
// this.gameId = gameId;
// }
// public int getPlayerPosition() {
// return playerPosition;
// }
// public void setPlayerPosition(int playerPosition) {
// this.playerPosition = playerPosition;
// }
// public int getTurnNumber() {
// return turnNumber;
// }
// public void setTurnNumber(int turnNumber) {
// this.turnNumber = turnNumber;
// }
// @Override
// public boolean equals(Object o) {
// if (this == o)
// return true;
// if (o == null || getClass() != o.getClass())
// return false;
// RoundId roundID = (RoundId) o;
// return playerPosition == roundID.playerPosition && turnNumber ==
// roundID.turnNumber
// && Objects.equals(gameId, roundID.gameId);
// }
// @Override
// public int hashCode() {
// return Objects.hash(gameId, playerPosition, turnNumber);
// }
// }
// public class RoundId implements Serializable {
// // @ManyToOne
// // @JoinColumn(name = "IdGame")
// public Long game;
// public Integer participe;
// public Integer turnNumber;
// public RoundId() {
// }
// public RoundId(GameEntity game, ParticipeEntity participePosition, Integer turnNumber) {
// this.game = game.id;
// this.participe = participePosition.position;
// this.turnNumber = turnNumber;
// }
// public RoundId(Long game, Integer participePosition, Integer turnNumber) {
// this.game = game;
// this.participe = participePosition;
// this.turnNumber = turnNumber;
// }
// @Override
// public boolean equals(Object o) {
// if (this == o)
// return true;
// if (!(o instanceof RoundId))
// return false;
// RoundId that = (RoundId) o;
// return Objects.equals(game, that.game) &&
// Objects.equals(participe, that.participe) &&
// Objects.equals(turnNumber, that.turnNumber);
// }
// @Override
// public int hashCode() {
// return Objects.hash(game, participe, turnNumber);
// }
// }
// public class RoundId implements Serializable {
// public static final long serialVersionUID = 1L;
// public Long game;
// public ParticipeId participe;
// public Integer turnNumber;
// public RoundId() {
// }
// public RoundId(Long gameId, ParticipeId participeId, Integer turnNumber) {
// this.game = gameId;
// this.participe = participeId;
// this.turnNumber = turnNumber;
// }
// @Override
// public boolean equals(Object o) {
// if (this == o)
// return true;
// if (!(o instanceof RoundId))
// return false;
// RoundId that = (RoundId) o;
// return Objects.equals(game, that.game) &&
// Objects.equals(participe, that.participe) &&
// Objects.equals(turnNumber, that.turnNumber);
// }
// @Override
// public int hashCode() {
// return Objects.hash(game, participe, turnNumber);
// }
// }
@Embeddable
public class RoundId implements Serializable {
public static final long serialVersionUID = 1L;
@Column(name = "game_id")
public Long game;
@Embedded
@Column(name = "participe")
public ParticipeId participe;
@Column(name = "turnNumber")
public Integer turnNumber;
public RoundId() {
}
public RoundId(Integer turnNumber, ParticipeId participeId) {
this.turnNumber = turnNumber;
this.participe = participeId;
}
@Override
public boolean equals(Object o) {
if (this == o)
return true;
if (!(o instanceof RoundId))
return false;
RoundId that = (RoundId) o;
return Objects.equals(game, that.game) &&
Objects.equals(participe, that.participe) &&
Objects.equals(turnNumber, that.turnNumber);
}
@Override
public int hashCode() {
return Objects.hash(game, participe, turnNumber);
}
}

@ -1,5 +0,0 @@
package org.acme.Hibernates.entities;
public class StatEntity {
}

@ -0,0 +1,23 @@
package org.acme.Hibernates.entities;
import javax.persistence.*;
@Entity
@Table(name = "throwtable")
public class ThrowEntity {
@EmbeddedId
public ThrowId id;
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumns({
@JoinColumn(name = "game_id", referencedColumnName = "game_id", insertable = false, updatable = false),
@JoinColumn(name = "idGame", referencedColumnName = "idGame", insertable = false, updatable = false),
@JoinColumn(name = "position", referencedColumnName = "position", insertable = false, updatable = false),
@JoinColumn(name = "turnNumber", referencedColumnName = "turnNumber", insertable = false, updatable = false)
})
public RoundEntity round;
@Column(name = "pins")
public int pins;
}

@ -0,0 +1,57 @@
package org.acme.Hibernates.entities;
import java.io.Serializable;
import java.util.Objects;
import javax.persistence.Column;
import javax.persistence.Embeddable;
import javax.persistence.Embedded;
// public class ThrowId implements Serializable{
// @Column(name = "Order")
// private int order;
// @Column(name = "RoundIdGame")
// private int roundIdGame;
// @Column(name = "RoundPlayerPosition")
// private int roundPlayerPosition;
// }
@Embeddable
public class ThrowId implements Serializable {
public static final long serialVersionUID = 1L;
@Column(name = "OrderTrhow")
public Integer OrderTrhow;
@Embedded
@Column(name = "round_id")
public RoundId round;
public ThrowId() {
}
public ThrowId(Integer OrderTrhow, RoundId round) {
this.OrderTrhow = OrderTrhow;
this.round = round;
}
@Override
public boolean equals(Object o) {
if (this == o)
return true;
if (!(o instanceof ThrowId))
return false;
ThrowId throwId = (ThrowId) o;
return Objects.equals(OrderTrhow, throwId.OrderTrhow) &&
Objects.equals(round, throwId.round);
}
@Override
public int hashCode() {
return Objects.hash(OrderTrhow, round);
}
}

@ -1,12 +1,15 @@
package org.acme.Hibernates.entities;
import java.util.ArrayList;
import java.util.List;
import javax.persistence.*;
@Entity
@Table(name="users")
@Table(name = "users")
public class UserEntity {
@Id
@GeneratedValue
@GeneratedValue(strategy = GenerationType.IDENTITY)
public Long id;
@Column(length = 100)
private String name;

@ -7,14 +7,15 @@ import java.io.Serializable;
import java.util.UUID;
@Entity
@Table(name="user_stats")
@Table(name = "user_stats")
public class UserStatsEntity {
@Id
private Long id;
@MapsId
@OneToOne(fetch = FetchType.LAZY)
@JoinColumn (name = "user_id", referencedColumnName = "id", insertable = false, updatable = false)
@JoinColumn(name = "user_id", referencedColumnName = "id", insertable = false, updatable = false)
private UserEntity user;
@ColumnDefault("0")
private Long nbVictories = 0L;
@ColumnDefault("0")

@ -3,6 +3,7 @@ quarkus.datasource.db-kind = postgresql
quarkus.datasource.username = postgres
quarkus.datasource.password = achanger
quarkus.datasource.reactive.url = vertx-reactive:postgresql://localhost:5432/postgres
#BowlDev-postgresql
quarkus.hibernate-orm.log.sql=true
quarkus.hibernate-orm.sql-load-script=import.sql

@ -1,4 +1,58 @@
INSERT INTO users(id, name,password) VALUES (nextval('hibernate_sequence'), 'Emre','Emre');
INSERT INTO users(id, name,password) VALUES (nextval('hibernate_sequence'), 'Arthur','Arthur');
INSERT INTO users(id, name,password) VALUES (nextval('hibernate_sequence'), 'Lucas','Lucas');
INSERT INTO users(id, name,password) VALUES (nextval('hibernate_sequence'), 'Louison','Louison');
-- INSERT INTO users(id, name,password) VALUES (nextval('hibernate_sequence'), 'Emre','Emre');
-- INSERT INTO users(id, name,password) VALUES (nextval('hibernate_sequence'), 'Arthur','Arthur');
-- INSERT INTO users(id, name,password) VALUES (nextval('hibernate_sequence'), 'Lucas','Lucas');
-- INSERT INTO users(id, name,password) VALUES (nextval('hibernate_sequence'), 'Louison','Louison');
-- INSERT INTO users (Id, Name, Password) VALUES (1, 'Alice', 'password1'),
-- (2, 'Bob', 'password2'),
-- (3, 'Charlie', 'password3');
-- INSERT INTO user_stats (user_id, nbVictories, nbGames) VALUES
-- (1, 2, 5),
-- (2, 3, 7),
-- (3, 1, 3);
-- INSERT INTO games (Id, host_id) VALUES
-- (1, 1),
-- (2, 2);
-- INSERT INTO participe (idGame, position, iduser, guestname, totalPoints) VALUES
-- (1, 1, 1, NULL, 0),
-- (1, 2, 2, NULL, 0),
-- (2, 1, 2, NULL, 0),
-- (2, 2, NULL, 'guest1', 0),
-- (2, 3, NULL, 'guest2', 0);
-- INSERT INTO round (game_id, PlayerPosition, TurnNumber, points) VALUES
-- (1, 1, 1, 10),
-- (1, 2, 1, 7),
-- (1, 1, 2, 9),
-- (1, 2, 2, 1),
-- (1, 1, 3, 3),
-- (1, 2, 3, 10),
-- (2, 1, 1, 9),
-- (2, 2, 1, 1),
-- (2, 1, 2, 8),
-- (2, 2, 2, 2),
-- (2, 3, 2, 0),
-- (2, 1, 3, 10),
-- (2, 2, 3, 10),
-- (2, 3, 3, 7);
-- INSERT INTO ThrowTable (Order, idGame, position, , pins) VALUES
-- (1, 1, 1, 10),
-- (1, 1, 2, 7),
-- (2, 1, 1, 9),
-- (2, 1, 2, 1),
-- (3, 1, 1, 3),
-- (3, 1, 2, 10),
-- (1, 2, 1, 9),
-- (1, 2, 2, 1),
-- (2, 2, 1, 8),
-- (2, 2, 2, 2),
-- (3, 2, 3, 0),
-- (3, 2, 1, 10),
-- (4, 2, 2, 10),
-- (4, 2, 3, 7);
INSERT INTO users (name, password) VALUES ('Alice', 'password123');
INSERT INTO games (isFinished, nbPoints, time, winner, host_id) VALUES (false, 0, CURRENT_TIMESTAMP, 0, 1);
INSERT INTO participe (idGame, position, guestname, totalpoints, iduser) VALUES (1, 1, 'Alice', 0, 1);
INSERT INTO round (game_id, idGame, position, turnNumber, points) VALUES (1, 1, 1, 1, 0);
INSERT INTO throwtable (OrderTrhow, game_id, idGame, position, turnNumber, pins) VALUES (1, 1, 1, 1, 1, 0);
INSERT INTO user_stats (user_id, avgPinsPerRound, avgScore, highscore, nbGames, nbSpares, nbStrikes, nbVictories) VALUES (1, 0, 0, 0, 0, 0, 0, 0);

@ -3,6 +3,6 @@ package org.acme;
import io.quarkus.test.junit.QuarkusIntegrationTest;
@QuarkusIntegrationTest
public class GreetingResourceIT extends GreetingResourceTest {
public class GreetingResourceIT extends UserControllerTest {
// Execute the same tests but in packaged mode.
}

@ -7,12 +7,12 @@ import static io.restassured.RestAssured.given;
import static org.hamcrest.CoreMatchers.is;
@QuarkusTest
public class GreetingResourceTest {
public class UserControllerTest {
@Test
public void testUserEndpoint() {
given()
.when().get("/users")
.when().get("/users/1")
.then()
.statusCode(200);
}

@ -0,0 +1,770 @@
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 32784 bytes for Chunk::new
# Possible reasons:
# The system is out of physical RAM or swap space
# The process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap
# Possible solutions:
# Reduce memory load on the system
# Increase physical memory or swap space
# Check if swap backing store is full
# Decrease Java heap size (-Xmx/-Xms)
# Decrease number of Java threads
# Decrease Java thread stack sizes (-Xss)
# Set larger code cache with -XX:ReservedCodeCacheSize=
# JVM is running with Unscaled Compressed Oops mode in which the Java heap is
# placed in the first 4GB address space. The Java Heap base address is the
# maximum limit for the native heap growth. Please use -XX:HeapBaseMinAddress
# to set the Java Heap base and to place the Java Heap above 4GB virtual address.
# This output file may be truncated or incomplete.
#
# Out of Memory Error (arena.cpp:189), pid=3352, tid=18400
#
# JRE version: OpenJDK Runtime Environment Temurin-17.0.6+10 (17.0.6+10) (build 17.0.6+10)
# Java VM: OpenJDK 64-Bit Server VM Temurin-17.0.6+10 (17.0.6+10, mixed mode, tiered, compressed oops, compressed class ptrs, parallel gc, windows-amd64)
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#
--------------- S U M M A R Y ------------
Command Line: --add-modules=ALL-SYSTEM --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/sun.nio.fs=ALL-UNNAMED -Declipse.application=org.eclipse.jdt.ls.core.id1 -Dosgi.bundles.defaultStartLevel=4 -Declipse.product=org.eclipse.jdt.ls.core.product -Djava.import.generatesMetadataFilesAtProjectRoot=false -Dfile.encoding=utf8 -XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx1G -Xms100m -Xlog:disable -javaagent:c:\Users\The D\.vscode\extensions\redhat.java-1.16.0-win32-x64\lombok\lombok-1.18.24.jar -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=c:\Users\The D\AppData\Roaming\Code\User\workspaceStorage\db959ee1a933431391df2d37a08e8784\redhat.java c:\Users\The D\.vscode\extensions\redhat.java-1.16.0-win32-x64\server\plugins\org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar -configuration c:\Users\The D\AppData\Roaming\Code\User\globalStorage\redhat.java\1.16.0\config_win -data c:\Users\The D\AppData\Roaming\Code\User\workspaceStorage\db959ee1a933431391df2d37a08e8784\redhat.java\jdt_ws
Host: Intel(R) Core(TM) i3-10110U CPU @ 2.10GHz, 4 cores, 7G, Windows 11 , 64 bit Build 22000 (10.0.22000.1516)
Time: Sat Mar 18 17:50:58 2023 Paris, Madrid elapsed time: 138.924449 seconds (0d 0h 2m 18s)
--------------- T H R E A D ---------------
Current thread (0x000001767b92bef0): JavaThread "C2 CompilerThread1" daemon [_thread_in_native, id=18400, stack(0x0000004726000000,0x0000004726100000)]
Current CompileTask:
C2: 138924 14973 4 org.eclipse.jdt.internal.compiler.parser.Parser::consumeToken (2309 bytes)
Stack: [0x0000004726000000,0x0000004726100000]
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [jvm.dll+0x67741a]
V [jvm.dll+0x834434]
V [jvm.dll+0x835bde]
V [jvm.dll+0x836243]
V [jvm.dll+0x2457b5]
V [jvm.dll+0xabafc]
V [jvm.dll+0xac0cc]
V [jvm.dll+0xabc0b]
V [jvm.dll+0x6548cc]
V [jvm.dll+0x32ebff]
V [jvm.dll+0x5424d7]
V [jvm.dll+0x32dc4a]
V [jvm.dll+0x32d24a]
V [jvm.dll+0x2185f1]
V [jvm.dll+0x217a11]
V [jvm.dll+0x1a3d0d]
V [jvm.dll+0x22742a]
V [jvm.dll+0x225565]
V [jvm.dll+0x7ea2cb]
V [jvm.dll+0x7e483a]
V [jvm.dll+0x6762c5]
C [ucrtbase.dll+0x26c0c]
C [KERNEL32.DLL+0x155a0]
C [ntdll.dll+0x485b]
--------------- P R O C E S S ---------------
Threads class SMR info:
_java_thread_list=0x000001767d80d330, length=38, elements={
0x000001765f501460, 0x000001765f5b5fd0, 0x000001765f5b75e0, 0x0000017673343350,
0x000001767335aa10, 0x000001767335b2d0, 0x000001767335bb90, 0x000001767335c920,
0x0000017674d63590, 0x0000017674d66660, 0x0000017674e2a9e0, 0x0000017674fc35c0,
0x00000176753b0be0, 0x00000176751c3c00, 0x00000176764c9470, 0x0000017675765e50,
0x0000017676614dc0, 0x00000176750a2530, 0x00000176750a4210, 0x00000176750a46e0,
0x00000176750a3870, 0x00000176750a2a00, 0x00000176750a2060, 0x00000176750a4bb0,
0x00000176750a33a0, 0x00000176750a3d40, 0x000001767b9e2230, 0x000001767b9df6e0,
0x000001767b9dfbb0, 0x000001767b9dd060, 0x000001767b9e13c0, 0x000001767b9de870,
0x000001767b9e2bd0, 0x000001767d765f30, 0x000001767d764250, 0x000001767d7603c0,
0x000001767d766da0, 0x000001767b92bef0
}
Java Threads: ( => current thread )
0x000001765f501460 JavaThread "main" [_thread_blocked, id=32680, stack(0x0000004723e00000,0x0000004723f00000)]
0x000001765f5b5fd0 JavaThread "Reference Handler" daemon [_thread_blocked, id=32500, stack(0x0000004724100000,0x0000004724200000)]
0x000001765f5b75e0 JavaThread "Finalizer" daemon [_thread_blocked, id=11412, stack(0x0000004724200000,0x0000004724300000)]
0x0000017673343350 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=11296, stack(0x0000004724300000,0x0000004724400000)]
0x000001767335aa10 JavaThread "Attach Listener" daemon [_thread_blocked, id=31376, stack(0x0000004724400000,0x0000004724500000)]
0x000001767335b2d0 JavaThread "Service Thread" daemon [_thread_blocked, id=2480, stack(0x0000004724500000,0x0000004724600000)]
0x000001767335bb90 JavaThread "Monitor Deflation Thread" daemon [_thread_blocked, id=32532, stack(0x0000004724600000,0x0000004724700000)]
0x000001767335c920 JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=29220, stack(0x0000004724700000,0x0000004724800000)]
0x0000017674d63590 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=11596, stack(0x0000004724800000,0x0000004724900000)]
0x0000017674d66660 JavaThread "Sweeper thread" daemon [_thread_blocked, id=6224, stack(0x0000004724900000,0x0000004724a00000)]
0x0000017674e2a9e0 JavaThread "Common-Cleaner" daemon [_thread_blocked, id=32516, stack(0x0000004724a00000,0x0000004724b00000)]
0x0000017674fc35c0 JavaThread "Notification Thread" daemon [_thread_blocked, id=31708, stack(0x0000004724b00000,0x0000004724c00000)]
0x00000176753b0be0 JavaThread "Active Thread: Equinox Container: 13d6a0c1-bf17-493c-aa6a-a411513a458d" [_thread_blocked, id=14512, stack(0x0000004725000000,0x0000004725100000)]
0x00000176751c3c00 JavaThread "Framework Event Dispatcher: Equinox Container: 13d6a0c1-bf17-493c-aa6a-a411513a458d" daemon [_thread_blocked, id=11520, stack(0x0000004725200000,0x0000004725300000)]
0x00000176764c9470 JavaThread "Start Level: Equinox Container: 13d6a0c1-bf17-493c-aa6a-a411513a458d" daemon [_thread_blocked, id=11744, stack(0x0000004725300000,0x0000004725400000)]
0x0000017675765e50 JavaThread "SCR Component Actor" daemon [_thread_blocked, id=24616, stack(0x0000004725100000,0x0000004725200000)]
0x0000017676614dc0 JavaThread "Worker-JM" [_thread_blocked, id=17436, stack(0x0000004725500000,0x0000004725600000)]
0x00000176750a2530 JavaThread "Worker-0" [_thread_blocked, id=3876, stack(0x0000004725600000,0x0000004725700000)]
0x00000176750a4210 JavaThread "Worker-1: Java indexing... " [_thread_blocked, id=24044, stack(0x0000004725700000,0x0000004725800000)]
0x00000176750a46e0 JavaThread "Worker-2" [_thread_blocked, id=22520, stack(0x0000004725800000,0x0000004725900000)]
0x00000176750a3870 JavaThread "Worker-3" [_thread_blocked, id=22412, stack(0x0000004725900000,0x0000004725a00000)]
0x00000176750a2a00 JavaThread "Java indexing" daemon [_thread_blocked, id=25584, stack(0x0000004725b00000,0x0000004725c00000)]
0x00000176750a2060 JavaThread "JNA Cleaner" daemon [_thread_blocked, id=25484, stack(0x0000004725a00000,0x0000004725b00000)]
0x00000176750a4bb0 JavaThread "pool-2-thread-1" [_thread_blocked, id=13716, stack(0x0000004725c00000,0x0000004725d00000)]
0x00000176750a33a0 JavaThread "pool-1-thread-1" [_thread_in_native, id=11684, stack(0x0000004725d00000,0x0000004725e00000)]
0x00000176750a3d40 JavaThread "Worker-4" [_thread_blocked, id=8568, stack(0x0000004725e00000,0x0000004725f00000)]
0x000001767b9e2230 JavaThread "Timer-0" [_thread_blocked, id=29244, stack(0x0000004725400000,0x0000004725500000)]
0x000001767b9df6e0 JavaThread "Timer-1" [_thread_blocked, id=32572, stack(0x0000004725f00000,0x0000004726000000)]
0x000001767b9dfbb0 JavaThread "Timer-2" [_thread_blocked, id=31056, stack(0x0000004726300000,0x0000004726400000)]
0x000001767b9dd060 JavaThread "Timer-3" [_thread_blocked, id=6292, stack(0x0000004726400000,0x0000004726500000)]
0x000001767b9e13c0 JavaThread "Timer-4" [_thread_blocked, id=468, stack(0x0000004726600000,0x0000004726700000)]
0x000001767b9de870 JavaThread "Worker-5" [_thread_blocked, id=16988, stack(0x0000004723c00000,0x0000004723d00000)]
0x000001767b9e2bd0 JavaThread "Worker-6" [_thread_blocked, id=33420, stack(0x0000004723d00000,0x0000004723e00000)]
0x000001767d765f30 JavaThread "ForkJoinPool.commonPool-worker-1" daemon [_thread_blocked, id=20724, stack(0x0000004726900000,0x0000004726a00000)]
0x000001767d764250 JavaThread "ForkJoinPool.commonPool-worker-2" daemon [_thread_blocked, id=28828, stack(0x0000004726a00000,0x0000004726b00000)]
0x000001767d7603c0 JavaThread "ForkJoinPool.commonPool-worker-3" daemon [_thread_blocked, id=4852, stack(0x0000004726b00000,0x0000004726c00000)]
0x000001767d766da0 JavaThread "Bundle File Closer" daemon [_thread_blocked, id=31492, stack(0x0000004726c00000,0x0000004726d00000)]
=>0x000001767b92bef0 JavaThread "C2 CompilerThread1" daemon [_thread_in_native, id=18400, stack(0x0000004726000000,0x0000004726100000)]
Other Threads:
0x0000017673316850 VMThread "VM Thread" [stack: 0x0000004724000000,0x0000004724100000] [id=31016]
0x0000017674fc3a90 WatcherThread [stack: 0x0000004724c00000,0x0000004724d00000] [id=23828]
0x000001765f514250 GCTaskThread "GC Thread#0" [stack: 0x0000004723f00000,0x0000004724000000] [id=29360]
0x000001767563e060 GCTaskThread "GC Thread#1" [stack: 0x0000004724d00000,0x0000004724e00000] [id=28144]
0x000001767563e720 GCTaskThread "GC Thread#2" [stack: 0x0000004724e00000,0x0000004724f00000] [id=12500]
0x000001767564c0b0 GCTaskThread "GC Thread#3" [stack: 0x0000004724f00000,0x0000004725000000] [id=11668]
Threads with active compile tasks:
C2 CompilerThread0 138978 14970 4 org.eclipse.jdt.internal.core.JavaElement::getElementInfo (27 bytes)
C2 CompilerThread1 138978 14973 4 org.eclipse.jdt.internal.compiler.parser.Parser::consumeToken (2309 bytes)
VM state: not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
[0x000001765f4fc1f0] Heap_lock - owner thread: 0x00000176750a2a00
Heap address: 0x00000000c0000000, size: 1024 MB, Compressed Oops mode: 32-bit
CDS archive(s) not mapped
Compressed class space mapped at: 0x0000000100000000-0x0000000140000000, reserved size: 1073741824
Narrow klass base: 0x0000000000000000, Narrow klass shift: 3, Narrow klass range: 0x140000000
GC Precious Log:
CPUs: 4 total, 4 available
Memory: 8025M
Large Page Support: Disabled
NUMA Support: Disabled
Compressed Oops: Enabled (32-bit)
Alignments: Space 512K, Generation 512K, Heap 2M
Heap Min Capacity: 100M
Heap Initial Capacity: 100M
Heap Max Capacity: 1G
Pre-touch: Disabled
Parallel Workers: 4
Heap:
PSYoungGen total 35328K, used 9721K [0x00000000eab00000, 0x00000000ed700000, 0x0000000100000000)
eden space 25600K, 0% used [0x00000000eab00000,0x00000000eab00000,0x00000000ec400000)
from space 9728K, 99% used [0x00000000ec400000,0x00000000ecd7e700,0x00000000ecd80000)
to space 9728K, 0% used [0x00000000ecd80000,0x00000000ecd80000,0x00000000ed700000)
ParOldGen total 290816K, used 239170K [0x00000000c0000000, 0x00000000d1c00000, 0x00000000eab00000)
object space 290816K, 82% used [0x00000000c0000000,0x00000000ce990a48,0x00000000d1c00000)
Metaspace used 87590K, committed 88960K, reserved 1130496K
class space used 9900K, committed 10496K, reserved 1048576K
Card table byte_map: [0x000001765eec0000,0x000001765f0d0000] _byte_map_base: 0x000001765e8c0000
Marking Bits: (ParMarkBitMap*) 0x00007ffe12863e70
Begin Bits: [0x0000017671180000, 0x0000017672180000)
End Bits: [0x0000017672180000, 0x0000017673180000)
Polling page: 0x000001765d410000
Metaspace:
Usage:
Non-class: 75.87 MB used.
Class: 9.67 MB used.
Both: 85.54 MB used.
Virtual space:
Non-class space: 80.00 MB reserved, 76.62 MB ( 96%) committed, 10 nodes.
Class space: 1.00 GB reserved, 10.25 MB ( 1%) committed, 1 nodes.
Both: 1.08 GB reserved, 86.88 MB ( 8%) committed.
Chunk freelists:
Non-Class: 2.91 MB
Class: 1.58 MB
Both: 4.49 MB
MaxMetaspaceSize: unlimited
CompressedClassSpaceSize: 1.00 GB
Initial GC threshold: 21.00 MB
Current GC threshold: 137.31 MB
CDS: off
MetaspaceReclaimPolicy: balanced
- commit_granule_bytes: 65536.
- commit_granule_words: 8192.
- virtual_space_node_default_size: 1048576.
- enlarge_chunks_in_place: 1.
- new_chunks_are_fully_committed: 0.
- uncommit_free_chunks: 1.
- use_allocation_guard: 0.
- handle_deallocations: 1.
Internal statistics:
num_allocs_failed_limit: 11.
num_arena_births: 980.
num_arena_deaths: 22.
num_vsnodes_births: 11.
num_vsnodes_deaths: 0.
num_space_committed: 1390.
num_space_uncommitted: 0.
num_chunks_returned_to_freelist: 43.
num_chunks_taken_from_freelist: 4686.
num_chunk_merges: 19.
num_chunk_splits: 2961.
num_chunks_enlarged: 1757.
num_purges: 10.
num_inconsistent_stats: 0.
CodeHeap 'non-profiled nmethods': size=120000Kb used=8376Kb max_used=8376Kb free=111624Kb
bounds [0x0000017669c50000, 0x000001766a480000, 0x0000017671180000]
CodeHeap 'profiled nmethods': size=120000Kb used=24428Kb max_used=25038Kb free=95571Kb
bounds [0x0000017662180000, 0x0000017663a00000, 0x00000176696b0000]
CodeHeap 'non-nmethods': size=5760Kb used=1381Kb max_used=1473Kb free=4378Kb
bounds [0x00000176696b0000, 0x0000017669920000, 0x0000017669c50000]
total_blobs=12525 nmethods=11788 adapters=649
compilation: enabled
stopped_count=0, restarted_count=0
full_count=0
Compilation events (20 events):
Event: 138.826 Thread 0x0000017674d63590 15208 3 org.eclipse.jdt.internal.compiler.codegen.CodeStream::recordPositionsFrom (8 bytes)
Event: 138.826 Thread 0x0000017674d63590 nmethod 15208 0x00000176632f0510 code [0x00000176632f06a0, 0x00000176632f0868]
Event: 138.826 Thread 0x0000017674d63590 15207 2 org.eclipse.jdt.internal.compiler.codegen.CodeStream::invoke (344 bytes)
Event: 138.829 Thread 0x0000017674d63590 nmethod 15207 0x0000017663066390 code [0x00000176630665c0, 0x0000017663066c98]
Event: 138.829 Thread 0x0000017674d63590 15205 2 org.eclipse.jdt.internal.compiler.ast.Statement::generateArguments (335 bytes)
Event: 138.831 Thread 0x0000017674d63590 nmethod 15205 0x000001766220b390 code [0x000001766220b6a0, 0x000001766220c128]
Event: 138.831 Thread 0x0000017674d63590 15206 2 org.eclipse.jdt.internal.compiler.codegen.TypeAnnotationCodeStream::invoke (84 bytes)
Event: 138.832 Thread 0x0000017674d63590 nmethod 15206 0x000001766220ad90 code [0x000001766220af40, 0x000001766220b1d8]
Event: 138.832 Thread 0x0000017674d63590 15204 ! 2 org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding::hasTypeBit (77 bytes)
Event: 138.832 Thread 0x0000017674d63590 nmethod 15204 0x0000017663108710 code [0x00000176631088e0, 0x0000017663108b68]
Event: 138.832 Thread 0x0000017674d63590 15209 2 org.eclipse.jdt.internal.compiler.codegen.ConstantPool::literalIndexForNameAndType (220 bytes)
Event: 138.834 Thread 0x0000017674d63590 nmethod 15209 0x0000017663065510 code [0x0000017663065740, 0x0000017663065de8]
Event: 138.834 Thread 0x0000017674d63590 15210 2 org.eclipse.jdt.internal.compiler.codegen.CodeStream::isDefinitelyAssigned (123 bytes)
Event: 138.835 Thread 0x0000017674d63590 nmethod 15210 0x0000017662f34e90 code [0x0000017662f35080, 0x0000017662f35578]
Event: 138.835 Thread 0x0000017674d63590 15203 1 org.eclipse.jdt.internal.compiler.ASTVisitor::visit (2 bytes)
Event: 138.835 Thread 0x0000017674d63590 nmethod 15203 0x000001766a47dd10 code [0x000001766a47dea0, 0x000001766a47df78]
Event: 138.840 Thread 0x0000017674d63590 15211 2 org.eclipse.jdt.core.compiler.CharOperation::compareTo (54 bytes)
Event: 138.841 Thread 0x0000017674d63590 nmethod 15211 0x0000017663108010 code [0x00000176631081c0, 0x00000176631083d8]
Event: 138.877 Thread 0x0000017674d63590 15212 2 org.eclipse.lsp4j.jsonrpc.messages.Either::isLeft (13 bytes)
Event: 138.877 Thread 0x0000017674d63590 nmethod 15212 0x0000017663065110 code [0x00000176630652a0, 0x00000176630653b8]
GC Heap History (20 events):
Event: 131.599 GC heap after
{Heap after GC invocations=475 (full 20):
PSYoungGen total 29696K, used 3453K [0x00000000eab00000, 0x00000000eda80000, 0x0000000100000000)
eden space 26112K, 0% used [0x00000000eab00000,0x00000000eab00000,0x00000000ec480000)
from space 3584K, 96% used [0x00000000ec480000,0x00000000ec7df680,0x00000000ec800000)
to space 9728K, 0% used [0x00000000ed100000,0x00000000ed100000,0x00000000eda80000)
ParOldGen total 290816K, used 212935K [0x00000000c0000000, 0x00000000d1c00000, 0x00000000eab00000)
object space 290816K, 73% used [0x00000000c0000000,0x00000000ccff1de8,0x00000000d1c00000)
Metaspace used 83062K, committed 84416K, reserved 1130496K
class space used 9529K, committed 10112K, reserved 1048576K
}
Event: 131.751 GC heap before
{Heap before GC invocations=476 (full 20):
PSYoungGen total 29696K, used 29541K [0x00000000eab00000, 0x00000000eda80000, 0x0000000100000000)
eden space 26112K, 99% used [0x00000000eab00000,0x00000000ec47a0b0,0x00000000ec480000)
from space 3584K, 96% used [0x00000000ec480000,0x00000000ec7df680,0x00000000ec800000)
to space 9728K, 0% used [0x00000000ed100000,0x00000000ed100000,0x00000000eda80000)
ParOldGen total 290816K, used 212935K [0x00000000c0000000, 0x00000000d1c00000, 0x00000000eab00000)
object space 290816K, 73% used [0x00000000c0000000,0x00000000ccff1de8,0x00000000d1c00000)
Metaspace used 83435K, committed 84864K, reserved 1130496K
class space used 9559K, committed 10176K, reserved 1048576K
}
Event: 131.758 GC heap after
{Heap after GC invocations=476 (full 20):
PSYoungGen total 31744K, used 3468K [0x00000000eab00000, 0x00000000ed480000, 0x0000000100000000)
eden space 28160K, 0% used [0x00000000eab00000,0x00000000eab00000,0x00000000ec680000)
from space 3584K, 96% used [0x00000000ed100000,0x00000000ed4632d8,0x00000000ed480000)
to space 4608K, 0% used [0x00000000ecb80000,0x00000000ecb80000,0x00000000ed000000)
ParOldGen total 290816K, used 212935K [0x00000000c0000000, 0x00000000d1c00000, 0x00000000eab00000)
object space 290816K, 73% used [0x00000000c0000000,0x00000000ccff1de8,0x00000000d1c00000)
Metaspace used 83435K, committed 84864K, reserved 1130496K
class space used 9559K, committed 10176K, reserved 1048576K
}
Event: 132.268 GC heap before
{Heap before GC invocations=477 (full 20):
PSYoungGen total 31744K, used 31628K [0x00000000eab00000, 0x00000000ed480000, 0x0000000100000000)
eden space 28160K, 100% used [0x00000000eab00000,0x00000000ec680000,0x00000000ec680000)
from space 3584K, 96% used [0x00000000ed100000,0x00000000ed4632d8,0x00000000ed480000)
to space 4608K, 0% used [0x00000000ecb80000,0x00000000ecb80000,0x00000000ed000000)
ParOldGen total 290816K, used 212935K [0x00000000c0000000, 0x00000000d1c00000, 0x00000000eab00000)
object space 290816K, 73% used [0x00000000c0000000,0x00000000ccff1de8,0x00000000d1c00000)
Metaspace used 85030K, committed 86400K, reserved 1130496K
class space used 9692K, committed 10304K, reserved 1048576K
}
Event: 132.276 GC heap after
{Heap after GC invocations=477 (full 20):
PSYoungGen total 34816K, used 4607K [0x00000000eab00000, 0x00000000ed880000, 0x0000000100000000)
eden space 30208K, 0% used [0x00000000eab00000,0x00000000eab00000,0x00000000ec880000)
from space 4608K, 99% used [0x00000000ecb80000,0x00000000ecfffd58,0x00000000ed000000)
to space 8192K, 0% used [0x00000000ed080000,0x00000000ed080000,0x00000000ed880000)
ParOldGen total 290816K, used 215492K [0x00000000c0000000, 0x00000000d1c00000, 0x00000000eab00000)
object space 290816K, 74% used [0x00000000c0000000,0x00000000cd271038,0x00000000d1c00000)
Metaspace used 85030K, committed 86400K, reserved 1130496K
class space used 9692K, committed 10304K, reserved 1048576K
}
Event: 132.596 GC heap before
{Heap before GC invocations=478 (full 20):
PSYoungGen total 34816K, used 34815K [0x00000000eab00000, 0x00000000ed880000, 0x0000000100000000)
eden space 30208K, 100% used [0x00000000eab00000,0x00000000ec880000,0x00000000ec880000)
from space 4608K, 99% used [0x00000000ecb80000,0x00000000ecfffd58,0x00000000ed000000)
to space 8192K, 0% used [0x00000000ed080000,0x00000000ed080000,0x00000000ed880000)
ParOldGen total 290816K, used 215492K [0x00000000c0000000, 0x00000000d1c00000, 0x00000000eab00000)
object space 290816K, 74% used [0x00000000c0000000,0x00000000cd271038,0x00000000d1c00000)
Metaspace used 85633K, committed 86976K, reserved 1130496K
class space used 9724K, committed 10304K, reserved 1048576K
}
Event: 132.608 GC heap after
{Heap after GC invocations=478 (full 20):
PSYoungGen total 39424K, used 6727K [0x00000000eab00000, 0x00000000ed880000, 0x0000000100000000)
eden space 31232K, 0% used [0x00000000eab00000,0x00000000eab00000,0x00000000ec980000)
from space 8192K, 82% used [0x00000000ed080000,0x00000000ed711c98,0x00000000ed880000)
to space 7168K, 0% used [0x00000000ec980000,0x00000000ec980000,0x00000000ed080000)
ParOldGen total 290816K, used 217409K [0x00000000c0000000, 0x00000000d1c00000, 0x00000000eab00000)
object space 290816K, 74% used [0x00000000c0000000,0x00000000cd450780,0x00000000d1c00000)
Metaspace used 85633K, committed 86976K, reserved 1130496K
class space used 9724K, committed 10304K, reserved 1048576K
}
Event: 133.371 GC heap before
{Heap before GC invocations=479 (full 20):
PSYoungGen total 39424K, used 37959K [0x00000000eab00000, 0x00000000ed880000, 0x0000000100000000)
eden space 31232K, 100% used [0x00000000eab00000,0x00000000ec980000,0x00000000ec980000)
from space 8192K, 82% used [0x00000000ed080000,0x00000000ed711c98,0x00000000ed880000)
to space 7168K, 0% used [0x00000000ec980000,0x00000000ec980000,0x00000000ed080000)
ParOldGen total 290816K, used 217409K [0x00000000c0000000, 0x00000000d1c00000, 0x00000000eab00000)
object space 290816K, 74% used [0x00000000c0000000,0x00000000cd450780,0x00000000d1c00000)
Metaspace used 87102K, committed 88512K, reserved 1130496K
class space used 9882K, committed 10496K, reserved 1048576K
}
Event: 133.380 GC heap after
{Heap after GC invocations=479 (full 20):
PSYoungGen total 38400K, used 7156K [0x00000000eab00000, 0x00000000ed880000, 0x0000000100000000)
eden space 31232K, 0% used [0x00000000eab00000,0x00000000eab00000,0x00000000ec980000)
from space 7168K, 99% used [0x00000000ec980000,0x00000000ed07d108,0x00000000ed080000)
to space 7680K, 0% used [0x00000000ed100000,0x00000000ed100000,0x00000000ed880000)
ParOldGen total 290816K, used 217678K [0x00000000c0000000, 0x00000000d1c00000, 0x00000000eab00000)
object space 290816K, 74% used [0x00000000c0000000,0x00000000cd4939a8,0x00000000d1c00000)
Metaspace used 87102K, committed 88512K, reserved 1130496K
class space used 9882K, committed 10496K, reserved 1048576K
}
Event: 134.395 GC heap before
{Heap before GC invocations=480 (full 20):
PSYoungGen total 38400K, used 38374K [0x00000000eab00000, 0x00000000ed880000, 0x0000000100000000)
eden space 31232K, 99% used [0x00000000eab00000,0x00000000ec97c998,0x00000000ec980000)
from space 7168K, 99% used [0x00000000ec980000,0x00000000ed07d108,0x00000000ed080000)
to space 7680K, 0% used [0x00000000ed100000,0x00000000ed100000,0x00000000ed880000)
ParOldGen total 290816K, used 217678K [0x00000000c0000000, 0x00000000d1c00000, 0x00000000eab00000)
object space 290816K, 74% used [0x00000000c0000000,0x00000000cd4939a8,0x00000000d1c00000)
Metaspace used 87212K, committed 88640K, reserved 1130496K
class space used 9885K, committed 10496K, reserved 1048576K
}
Event: 134.407 GC heap after
{Heap after GC invocations=480 (full 20):
PSYoungGen total 35328K, used 7659K [0x00000000eab00000, 0x00000000edf80000, 0x0000000100000000)
eden space 27648K, 0% used [0x00000000eab00000,0x00000000eab00000,0x00000000ec600000)
from space 7680K, 99% used [0x00000000ed100000,0x00000000ed87afb0,0x00000000ed880000)
to space 11264K, 0% used [0x00000000ec600000,0x00000000ec600000,0x00000000ed100000)
ParOldGen total 290816K, used 220392K [0x00000000c0000000, 0x00000000d1c00000, 0x00000000eab00000)
object space 290816K, 75% used [0x00000000c0000000,0x00000000cd73a1f0,0x00000000d1c00000)
Metaspace used 87212K, committed 88640K, reserved 1130496K
class space used 9885K, committed 10496K, reserved 1048576K
}
Event: 134.862 GC heap before
{Heap before GC invocations=481 (full 20):
PSYoungGen total 35328K, used 35307K [0x00000000eab00000, 0x00000000edf80000, 0x0000000100000000)
eden space 27648K, 100% used [0x00000000eab00000,0x00000000ec600000,0x00000000ec600000)
from space 7680K, 99% used [0x00000000ed100000,0x00000000ed87afb0,0x00000000ed880000)
to space 11264K, 0% used [0x00000000ec600000,0x00000000ec600000,0x00000000ed100000)
ParOldGen total 290816K, used 220392K [0x00000000c0000000, 0x00000000d1c00000, 0x00000000eab00000)
object space 290816K, 75% used [0x00000000c0000000,0x00000000cd73a1f0,0x00000000d1c00000)
Metaspace used 87212K, committed 88640K, reserved 1130496K
class space used 9885K, committed 10496K, reserved 1048576K
}
Event: 134.873 GC heap after
{Heap after GC invocations=481 (full 20):
PSYoungGen total 34816K, used 7020K [0x00000000eab00000, 0x00000000ed700000, 0x0000000100000000)
eden space 27648K, 0% used [0x00000000eab00000,0x00000000eab00000,0x00000000ec600000)
from space 7168K, 97% used [0x00000000ec600000,0x00000000eccdb1b0,0x00000000ecd00000)
to space 8704K, 0% used [0x00000000ece80000,0x00000000ece80000,0x00000000ed700000)
ParOldGen total 290816K, used 224760K [0x00000000c0000000, 0x00000000d1c00000, 0x00000000eab00000)
object space 290816K, 77% used [0x00000000c0000000,0x00000000cdb7e378,0x00000000d1c00000)
Metaspace used 87212K, committed 88640K, reserved 1130496K
class space used 9885K, committed 10496K, reserved 1048576K
}
Event: 135.934 GC heap before
{Heap before GC invocations=482 (full 20):
PSYoungGen total 34816K, used 34668K [0x00000000eab00000, 0x00000000ed700000, 0x0000000100000000)
eden space 27648K, 100% used [0x00000000eab00000,0x00000000ec600000,0x00000000ec600000)
from space 7168K, 97% used [0x00000000ec600000,0x00000000eccdb1b0,0x00000000ecd00000)
to space 8704K, 0% used [0x00000000ece80000,0x00000000ece80000,0x00000000ed700000)
ParOldGen total 290816K, used 224760K [0x00000000c0000000, 0x00000000d1c00000, 0x00000000eab00000)
object space 290816K, 77% used [0x00000000c0000000,0x00000000cdb7e378,0x00000000d1c00000)
Metaspace used 87282K, committed 88704K, reserved 1130496K
class space used 9891K, committed 10496K, reserved 1048576K
}
Event: 135.944 GC heap after
{Heap after GC invocations=482 (full 20):
PSYoungGen total 34304K, used 8702K [0x00000000eab00000, 0x00000000edb00000, 0x0000000100000000)
eden space 25600K, 0% used [0x00000000eab00000,0x00000000eab00000,0x00000000ec400000)
from space 8704K, 99% used [0x00000000ece80000,0x00000000ed6ffb10,0x00000000ed700000)
to space 10752K, 0% used [0x00000000ec400000,0x00000000ec400000,0x00000000ece80000)
ParOldGen total 290816K, used 225989K [0x00000000c0000000, 0x00000000d1c00000, 0x00000000eab00000)
object space 290816K, 77% used [0x00000000c0000000,0x00000000cdcb14b8,0x00000000d1c00000)
Metaspace used 87282K, committed 88704K, reserved 1130496K
class space used 9891K, committed 10496K, reserved 1048576K
}
Event: 137.713 GC heap before
{Heap before GC invocations=483 (full 20):
PSYoungGen total 34304K, used 34302K [0x00000000eab00000, 0x00000000edb00000, 0x0000000100000000)
eden space 25600K, 100% used [0x00000000eab00000,0x00000000ec400000,0x00000000ec400000)
from space 8704K, 99% used [0x00000000ece80000,0x00000000ed6ffb10,0x00000000ed700000)
to space 10752K, 0% used [0x00000000ec400000,0x00000000ec400000,0x00000000ece80000)
ParOldGen total 290816K, used 225989K [0x00000000c0000000, 0x00000000d1c00000, 0x00000000eab00000)
object space 290816K, 77% used [0x00000000c0000000,0x00000000cdcb14b8,0x00000000d1c00000)
Metaspace used 87348K, committed 88768K, reserved 1130496K
class space used 9900K, committed 10496K, reserved 1048576K
}
Event: 137.728 GC heap after
{Heap after GC invocations=483 (full 20):
PSYoungGen total 35328K, used 9385K [0x00000000eab00000, 0x00000000ed700000, 0x0000000100000000)
eden space 25600K, 0% used [0x00000000eab00000,0x00000000eab00000,0x00000000ec400000)
from space 9728K, 96% used [0x00000000ec400000,0x00000000ecd2a6e0,0x00000000ecd80000)
to space 9728K, 0% used [0x00000000ecd80000,0x00000000ecd80000,0x00000000ed700000)
ParOldGen total 290816K, used 231784K [0x00000000c0000000, 0x00000000d1c00000, 0x00000000eab00000)
object space 290816K, 79% used [0x00000000c0000000,0x00000000ce25a190,0x00000000d1c00000)
Metaspace used 87348K, committed 88768K, reserved 1130496K
class space used 9900K, committed 10496K, reserved 1048576K
}
Event: 138.128 GC heap before
{Heap before GC invocations=484 (full 20):
PSYoungGen total 35328K, used 34985K [0x00000000eab00000, 0x00000000ed700000, 0x0000000100000000)
eden space 25600K, 100% used [0x00000000eab00000,0x00000000ec400000,0x00000000ec400000)
from space 9728K, 96% used [0x00000000ec400000,0x00000000ecd2a6e0,0x00000000ecd80000)
to space 9728K, 0% used [0x00000000ecd80000,0x00000000ecd80000,0x00000000ed700000)
ParOldGen total 290816K, used 231784K [0x00000000c0000000, 0x00000000d1c00000, 0x00000000eab00000)
object space 290816K, 79% used [0x00000000c0000000,0x00000000ce25a190,0x00000000d1c00000)
Metaspace used 87348K, committed 88768K, reserved 1130496K
class space used 9900K, committed 10496K, reserved 1048576K
}
Event: 138.142 GC heap after
{Heap after GC invocations=484 (full 20):
PSYoungGen total 35328K, used 9638K [0x00000000eab00000, 0x00000000ed700000, 0x0000000100000000)
eden space 25600K, 0% used [0x00000000eab00000,0x00000000eab00000,0x00000000ec400000)
from space 9728K, 99% used [0x00000000ecd80000,0x00000000ed6e9a58,0x00000000ed700000)
to space 9728K, 0% used [0x00000000ec400000,0x00000000ec400000,0x00000000ecd80000)
ParOldGen total 290816K, used 235240K [0x00000000c0000000, 0x00000000d1c00000, 0x00000000eab00000)
object space 290816K, 80% used [0x00000000c0000000,0x00000000ce5ba198,0x00000000d1c00000)
Metaspace used 87348K, committed 88768K, reserved 1130496K
class space used 9900K, committed 10496K, reserved 1048576K
}
Event: 138.909 GC heap before
{Heap before GC invocations=485 (full 20):
PSYoungGen total 35328K, used 35238K [0x00000000eab00000, 0x00000000ed700000, 0x0000000100000000)
eden space 25600K, 100% used [0x00000000eab00000,0x00000000ec400000,0x00000000ec400000)
from space 9728K, 99% used [0x00000000ecd80000,0x00000000ed6e9a58,0x00000000ed700000)
to space 9728K, 0% used [0x00000000ec400000,0x00000000ec400000,0x00000000ecd80000)
ParOldGen total 290816K, used 237147K [0x00000000c0000000, 0x00000000d1c00000, 0x00000000eab00000)
object space 290816K, 81% used [0x00000000c0000000,0x00000000ce796d50,0x00000000d1c00000)
Metaspace used 87590K, committed 88960K, reserved 1130496K
class space used 9900K, committed 10496K, reserved 1048576K
}
Dll operation events (14 events):
Event: 0.036 Loaded shared library c:\Users\The D\.vscode\extensions\redhat.java-1.16.0-win32-x64\jre\17.0.6-win32-x86_64\bin\java.dll
Event: 0.943 Loaded shared library c:\Users\The D\.vscode\extensions\redhat.java-1.16.0-win32-x64\jre\17.0.6-win32-x86_64\bin\zip.dll
Event: 0.952 Loaded shared library C:\Users\The D\.vscode\extensions\redhat.java-1.16.0-win32-x64\jre\17.0.6-win32-x86_64\bin\instrument.dll
Event: 1.013 Loaded shared library C:\Users\The D\.vscode\extensions\redhat.java-1.16.0-win32-x64\jre\17.0.6-win32-x86_64\bin\net.dll
Event: 1.035 Loaded shared library C:\Users\The D\.vscode\extensions\redhat.java-1.16.0-win32-x64\jre\17.0.6-win32-x86_64\bin\nio.dll
Event: 1.065 Loaded shared library C:\Users\The D\.vscode\extensions\redhat.java-1.16.0-win32-x64\jre\17.0.6-win32-x86_64\bin\zip.dll
Event: 1.163 Loaded shared library C:\Users\The D\.vscode\extensions\redhat.java-1.16.0-win32-x64\jre\17.0.6-win32-x86_64\bin\jimage.dll
Event: 1.740 Loaded shared library c:\Users\The D\.vscode\extensions\redhat.java-1.16.0-win32-x64\jre\17.0.6-win32-x86_64\bin\verify.dll
Event: 8.081 Loaded shared library C:\Users\The D\AppData\Roaming\Code\User\globalStorage\redhat.java\1.16.0\config_win\org.eclipse.equinox.launcher\org.eclipse.equinox.launcher.win32.win32.x86_64_1.2.700.v20221108-1024\eclipse_11801.dll
Event: 12.722 Loaded shared library C:\Users\The D\.vscode\extensions\redhat.java-1.16.0-win32-x64\jre\17.0.6-win32-x86_64\bin\management.dll
Event: 12.801 Loaded shared library C:\Users\The D\.vscode\extensions\redhat.java-1.16.0-win32-x64\jre\17.0.6-win32-x86_64\bin\management_ext.dll
Event: 21.153 Loaded shared library C:\Users\The D\AppData\Local\Temp\jna-80772149\jna813018904507670772.dll
Event: 34.392 Loaded shared library C:\Users\The D\.gradle\native\e1d6ef7f7dcc3fd88c89a11ec53ec762bb8ba0a96d01ffa2cd45eb1d1d8dd5c5\windows-amd64\native-platform.dll
Event: 49.843 Loaded shared library C:\Users\The D\.vscode\extensions\redhat.java-1.16.0-win32-x64\jre\17.0.6-win32-x86_64\bin\sunmscapi.dll
Deoptimization events (20 events):
Event: 136.755 Thread 0x00000176750a2a00 DEOPT PACKING pc=0x0000017663786ef5 sp=0x0000004725bfeb10
Event: 136.755 Thread 0x00000176750a2a00 DEOPT UNPACKING pc=0x0000017669706e43 sp=0x0000004725bfe038 mode 0
Event: 136.896 Thread 0x00000176750a2a00 DEOPT PACKING pc=0x0000017663786ef5 sp=0x0000004725bfeb10
Event: 136.896 Thread 0x00000176750a2a00 DEOPT UNPACKING pc=0x0000017669706e43 sp=0x0000004725bfe038 mode 0
Event: 136.970 Thread 0x00000176750a2a00 DEOPT PACKING pc=0x0000017663786ef5 sp=0x0000004725bfeb10
Event: 136.972 Thread 0x00000176750a2a00 DEOPT UNPACKING pc=0x0000017669706e43 sp=0x0000004725bfe038 mode 0
Event: 137.234 Thread 0x00000176750a2a00 DEOPT PACKING pc=0x0000017663786ef5 sp=0x0000004725bfeb10
Event: 137.234 Thread 0x00000176750a2a00 DEOPT UNPACKING pc=0x0000017669706e43 sp=0x0000004725bfe038 mode 0
Event: 137.843 Thread 0x00000176750a2a00 DEOPT PACKING pc=0x000001766382176b sp=0x0000004725bfe9f0
Event: 137.843 Thread 0x00000176750a2a00 DEOPT UNPACKING pc=0x0000017669706e43 sp=0x0000004725bfde68 mode 0
Event: 138.346 Thread 0x00000176750a2530 Uncommon trap: trap_request=0xffffffd6 fr.pc=0x000001766a2bac38 relative=0x00000000000028b8
Event: 138.346 Thread 0x00000176750a2530 Uncommon trap: reason=array_check action=maybe_recompile pc=0x000001766a2bac38 method=java.util.TimSort.reverseRange([Ljava/lang/Object;II)V @ 27 c2
Event: 138.346 Thread 0x00000176750a2530 DEOPT PACKING pc=0x000001766a2bac38 sp=0x00000047256fdf40
Event: 138.346 Thread 0x00000176750a2530 DEOPT UNPACKING pc=0x00000176697066a3 sp=0x00000047256fde18 mode 2
Event: 138.350 Thread 0x00000176750a2530 Uncommon trap: trap_request=0xffffffd6 fr.pc=0x000001766a2bac38 relative=0x00000000000028b8
Event: 138.350 Thread 0x00000176750a2530 Uncommon trap: reason=array_check action=maybe_recompile pc=0x000001766a2bac38 method=java.util.TimSort.reverseRange([Ljava/lang/Object;II)V @ 27 c2
Event: 138.350 Thread 0x00000176750a2530 DEOPT PACKING pc=0x000001766a2bac38 sp=0x00000047256fe1d0
Event: 138.350 Thread 0x00000176750a2530 DEOPT UNPACKING pc=0x00000176697066a3 sp=0x00000047256fe0a8 mode 2
Event: 138.624 Thread 0x00000176750a2530 DEOPT PACKING pc=0x0000017662a2e1f1 sp=0x00000047256fe850
Event: 138.624 Thread 0x00000176750a2530 DEOPT UNPACKING pc=0x0000017669706e43 sp=0x00000047256fdd08 mode 0
Classes unloaded (20 events):
Event: 97.353 Thread 0x0000017673316850 Unloading class 0x000000010086ca40 'io/quarkus/deployment/CodeGenerator$$Lambda$435+0x000000010086ca40'
Event: 97.353 Thread 0x0000017673316850 Unloading class 0x000000010086c848 'io/quarkus/deployment/CodeGenerator$CodeGenAction'
Event: 97.353 Thread 0x0000017673316850 Unloading class 0x000000010086c608 'io/quarkus/runtime/LaunchMode'
Event: 97.353 Thread 0x0000017673316850 Unloading class 0x000000010086c3f8 'io/quarkus/deployment/codegen/CodeGenData'
Event: 97.353 Thread 0x0000017673316850 Unloading class 0x000000010086c200 'org/eclipse/microprofile/config/Config'
Event: 97.353 Thread 0x0000017673316850 Unloading class 0x000000010086c000 'io/quarkus/deployment/CodeGenerator'
Event: 123.433 Thread 0x0000017673316850 Unloading class 0x00000001009f1460 'io/quarkus/deployment/CodeGenProvider'
Event: 123.433 Thread 0x0000017673316850 Unloading class 0x00000001009f1240 'io/quarkus/deployment/CodeGenerator$$Lambda$630+0x00000001009f1240'
Event: 123.433 Thread 0x0000017673316850 Unloading class 0x00000001009f0e08 'io/quarkus/deployment/CodeGenerator$CodeGenAction'
Event: 123.433 Thread 0x0000017673316850 Unloading class 0x00000001009f1000 'io/quarkus/runtime/LaunchMode'
Event: 123.433 Thread 0x0000017673316850 Unloading class 0x00000001009f0bf8 'io/quarkus/deployment/codegen/CodeGenData'
Event: 123.433 Thread 0x0000017673316850 Unloading class 0x00000001009f0a00 'org/eclipse/microprofile/config/Config'
Event: 123.433 Thread 0x0000017673316850 Unloading class 0x00000001009f0800 'io/quarkus/deployment/CodeGenerator'
Event: 129.452 Thread 0x0000017673316850 Unloading class 0x00000001009f1460 'io/quarkus/deployment/CodeGenProvider'
Event: 129.452 Thread 0x0000017673316850 Unloading class 0x00000001009f1240 'io/quarkus/deployment/CodeGenerator$$Lambda$631+0x00000001009f1240'
Event: 129.452 Thread 0x0000017673316850 Unloading class 0x00000001009f0e08 'io/quarkus/deployment/CodeGenerator$CodeGenAction'
Event: 129.452 Thread 0x0000017673316850 Unloading class 0x00000001009f1000 'io/quarkus/runtime/LaunchMode'
Event: 129.452 Thread 0x0000017673316850 Unloading class 0x00000001009f0bf8 'io/quarkus/deployment/codegen/CodeGenData'
Event: 129.452 Thread 0x0000017673316850 Unloading class 0x00000001009f0a00 'org/eclipse/microprofile/config/Config'
Event: 129.452 Thread 0x0000017673316850 Unloading class 0x00000001009f0800 'io/quarkus/deployment/CodeGenerator'
Classes redefined (0 events):
No events
Internal exceptions (20 events):
Event: 136.038 Thread 0x00000176750a2530 Exception <a 'java/lang/NullPointerException'{0x00000000ead0ae30}> (0x00000000ead0ae30)
thrown [s\src\hotspot\share\interpreter\linkResolver.cpp, line 1350]
Event: 136.038 Thread 0x00000176750a2530 Exception <a 'java/lang/NullPointerException'{0x00000000ead0bb38}> (0x00000000ead0bb38)
thrown [s\src\hotspot\share\interpreter\linkResolver.cpp, line 1350]
Event: 136.038 Thread 0x00000176750a2530 Exception <a 'java/lang/NullPointerException'{0x00000000ead0c900}> (0x00000000ead0c900)
thrown [s\src\hotspot\share\interpreter\linkResolver.cpp, line 1350]
Event: 136.038 Thread 0x00000176750a2530 Exception <a 'java/lang/NullPointerException'{0x00000000ead0d6d8}> (0x00000000ead0d6d8)
thrown [s\src\hotspot\share\interpreter\linkResolver.cpp, line 1350]
Event: 138.219 Thread 0x00000176750a2530 Exception <a 'java/lang/NullPointerException'{0x00000000eae73ff0}> (0x00000000eae73ff0)
thrown [s\src\hotspot\share\interpreter\linkResolver.cpp, line 1350]
Event: 138.263 Thread 0x00000176750a2530 Exception <a 'java/lang/NullPointerException'{0x00000000eaf77808}> (0x00000000eaf77808)
thrown [s\src\hotspot\share\interpreter\linkResolver.cpp, line 1350]
Event: 138.315 Thread 0x00000176750a2530 Exception <a 'java/lang/NullPointerException'{0x00000000eb1bd920}> (0x00000000eb1bd920)
thrown [s\src\hotspot\share\interpreter\linkResolver.cpp, line 1350]
Event: 138.316 Thread 0x00000176750a2530 Exception <a 'java/lang/NullPointerException'{0x00000000eb1bf2d0}> (0x00000000eb1bf2d0)
thrown [s\src\hotspot\share\interpreter\linkResolver.cpp, line 1350]
Event: 138.334 Thread 0x00000176750a2530 Exception <a 'java/lang/NullPointerException'{0x00000000eb282710}> (0x00000000eb282710)
thrown [s\src\hotspot\share\interpreter\linkResolver.cpp, line 1350]
Event: 138.387 Thread 0x00000176750a2530 Exception <a 'java/lang/ClassCastException'{0x00000000eb4a7100}> (0x00000000eb4a7100)
thrown [s\src\hotspot\share\runtime\sharedRuntime.cpp, line 628]
Event: 138.449 Thread 0x00000176750a2530 Exception <a 'java/lang/NullPointerException'{0x00000000eb6dd5d8}> (0x00000000eb6dd5d8)
thrown [s\src\hotspot\share\interpreter\linkResolver.cpp, line 1350]
Event: 138.470 Thread 0x00000176750a2530 Exception <a 'java/lang/NullPointerException'{0x00000000eb7ce1f8}> (0x00000000eb7ce1f8)
thrown [s\src\hotspot\share\interpreter\linkResolver.cpp, line 1350]
Event: 138.507 Thread 0x00000176750a2530 Exception <a 'java/lang/NullPointerException'{0x00000000eba0e1e8}> (0x00000000eba0e1e8)
thrown [s\src\hotspot\share\interpreter\linkResolver.cpp, line 1350]
Event: 138.507 Thread 0x00000176750a2530 Exception <a 'java/lang/NullPointerException'{0x00000000eba0f380}> (0x00000000eba0f380)
thrown [s\src\hotspot\share\interpreter\linkResolver.cpp, line 1350]
Event: 138.562 Thread 0x00000176750a2530 Exception <a 'java/lang/ClassCastException'{0x00000000ebcf2d08}> (0x00000000ebcf2d08)
thrown [s\src\hotspot\share\runtime\sharedRuntime.cpp, line 628]
Event: 138.625 Thread 0x00000176750a2530 Exception <a 'java/lang/NullPointerException'{0x00000000ebef85b8}> (0x00000000ebef85b8)
thrown [s\src\hotspot\share\interpreter\linkResolver.cpp, line 1350]
Event: 138.645 Thread 0x00000176750a2530 Exception <a 'java/lang/NullPointerException'{0x00000000ebfe9268}> (0x00000000ebfe9268)
thrown [s\src\hotspot\share\interpreter\linkResolver.cpp, line 1350]
Event: 138.681 Thread 0x00000176750a2530 Exception <a 'java/lang/NullPointerException'{0x00000000ec229158}> (0x00000000ec229158)
thrown [s\src\hotspot\share\interpreter\linkResolver.cpp, line 1350]
Event: 138.681 Thread 0x00000176750a2530 Exception <a 'java/lang/NullPointerException'{0x00000000ec22a2f0}> (0x00000000ec22a2f0)
thrown [s\src\hotspot\share\interpreter\linkResolver.cpp, line 1350]
Event: 138.754 Thread 0x00000176750a2530 Exception <a 'java/lang/ClassCastException'{0x00000000ce6c31b8}> (0x00000000ce6c31b8)
thrown [s\src\hotspot\share\runtime\sharedRuntime.cpp, line 628]
VM Operations (20 events):
Event: 134.876 Executing VM operation: ParallelGCFailedAllocation done
Event: 135.892 Executing VM operation: Cleanup
Event: 135.934 Executing VM operation: Cleanup done
Event: 135.934 Executing VM operation: ParallelGCFailedAllocation
Event: 135.944 Executing VM operation: ParallelGCFailedAllocation done
Event: 136.131 Executing VM operation: HandshakeAllThreads
Event: 136.188 Executing VM operation: HandshakeAllThreads done
Event: 137.195 Executing VM operation: Cleanup
Event: 137.195 Executing VM operation: Cleanup done
Event: 137.712 Executing VM operation: ParallelGCFailedAllocation
Event: 137.728 Executing VM operation: ParallelGCFailedAllocation done
Event: 138.128 Executing VM operation: ParallelGCFailedAllocation
Event: 138.142 Executing VM operation: ParallelGCFailedAllocation done
Event: 138.505 Executing VM operation: ICBufferFull
Event: 138.506 Executing VM operation: ICBufferFull done
Event: 138.699 Executing VM operation: ParallelGCFailedAllocation
Event: 138.699 Executing VM operation: ParallelGCFailedAllocation done
Event: 138.776 Executing VM operation: HandshakeAllThreads
Event: 138.776 Executing VM operation: HandshakeAllThreads done
Event: 138.909 Executing VM operation: ParallelGCSystemGC
Events (20 events):
Event: 132.867 Thread 0x0000017674d66660 flushing nmethod 0x00000176638da990
Event: 132.867 Thread 0x0000017674d66660 flushing nmethod 0x00000176638dcf90
Event: 132.867 Thread 0x0000017674d66660 flushing nmethod 0x00000176638ecb10
Event: 132.867 Thread 0x0000017674d66660 flushing nmethod 0x00000176638fc190
Event: 132.867 Thread 0x0000017674d66660 flushing nmethod 0x00000176638fde10
Event: 132.867 Thread 0x0000017674d66660 flushing nmethod 0x0000017663902910
Event: 132.867 Thread 0x0000017674d66660 flushing nmethod 0x0000017663918f10
Event: 132.867 Thread 0x0000017674d66660 flushing nmethod 0x0000017663919390
Event: 132.868 Thread 0x0000017674d66660 flushing nmethod 0x0000017663929210
Event: 132.868 Thread 0x0000017674d66660 flushing nmethod 0x0000017663937a90
Event: 132.868 Thread 0x0000017674d66660 flushing nmethod 0x0000017663954d10
Event: 132.868 Thread 0x0000017674d66660 flushing nmethod 0x0000017663955790
Event: 132.868 Thread 0x0000017674d66660 flushing nmethod 0x0000017663974e90
Event: 132.868 Thread 0x0000017674d66660 flushing nmethod 0x000001766397c390
Event: 135.124 Thread 0x000001767b92bef0 Thread added: 0x000001767b92bef0
Event: 138.800 Thread 0x0000017674d66660 flushing nmethod 0x0000017662c7d710
Event: 138.807 Thread 0x0000017674d66660 flushing nmethod 0x00000176630c6590
Event: 138.810 Thread 0x0000017674d66660 flushing nmethod 0x00000176632f0510
Event: 138.814 Thread 0x0000017674d66660 flushing nmethod 0x00000176635a4d90
Event: 138.819 Thread 0x0000017674d66660 flushing nmethod 0x00000176638da410
Dynamic libraries:
0x00007ff645d70000 - 0x00007ff645d7e000 c:\Users\The D\.vscode\extensions\redhat.java-1.16.0-win32-x64\jre\17.0.6-win32-x86_64\bin\java.exe
0x00007fff1c860000 - 0x00007fff1ca69000 C:\WINDOWS\SYSTEM32\ntdll.dll
0x00007fff1b980000 - 0x00007fff1ba3e000 C:\WINDOWS\System32\KERNEL32.DLL
0x00007fff1a180000 - 0x00007fff1a4fc000 C:\WINDOWS\System32\KERNELBASE.dll
0x00007fff16190000 - 0x00007fff16221000 C:\WINDOWS\SYSTEM32\apphelp.dll
0x00007fff1a5c0000 - 0x00007fff1a6d1000 C:\WINDOWS\System32\ucrtbase.dll
0x00007fff04040000 - 0x00007fff04057000 c:\Users\The D\.vscode\extensions\redhat.java-1.16.0-win32-x64\jre\17.0.6-win32-x86_64\bin\jli.dll
0x00007fff1b710000 - 0x00007fff1b8bd000 C:\WINDOWS\System32\USER32.dll
0x00007fff1a0b0000 - 0x00007fff1a0d6000 C:\WINDOWS\System32\win32u.dll
0x00007fff1b2a0000 - 0x00007fff1b2c9000 C:\WINDOWS\System32\GDI32.dll
0x00007fff19d30000 - 0x00007fff19e48000 C:\WINDOWS\System32\gdi32full.dll
0x00007fff1a0e0000 - 0x00007fff1a17d000 C:\WINDOWS\System32\msvcp_win.dll
0x00007fff03ad0000 - 0x00007fff03ae9000 c:\Users\The D\.vscode\extensions\redhat.java-1.16.0-win32-x64\jre\17.0.6-win32-x86_64\bin\VCRUNTIME140.dll
0x00007fff0c5c0000 - 0x00007fff0c865000 C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.22000.120_none_9d947278b86cc467\COMCTL32.dll
0x00007fff1bee0000 - 0x00007fff1bf83000 C:\WINDOWS\System32\msvcrt.dll
0x00007fff1c4c0000 - 0x00007fff1c4f2000 C:\WINDOWS\System32\IMM32.DLL
0x00007fff040a0000 - 0x00007fff040ac000 c:\Users\The D\.vscode\extensions\redhat.java-1.16.0-win32-x64\jre\17.0.6-win32-x86_64\bin\vcruntime140_1.dll
0x00007ffec4980000 - 0x00007ffec4a11000 c:\Users\The D\.vscode\extensions\redhat.java-1.16.0-win32-x64\jre\17.0.6-win32-x86_64\bin\msvcp140.dll
0x00007ffe11ce0000 - 0x00007ffe12927000 c:\Users\The D\.vscode\extensions\redhat.java-1.16.0-win32-x64\jre\17.0.6-win32-x86_64\bin\server\jvm.dll
0x00007fff1b8d0000 - 0x00007fff1b97e000 C:\WINDOWS\System32\ADVAPI32.dll
0x00007fff1c500000 - 0x00007fff1c59e000 C:\WINDOWS\System32\sechost.dll
0x00007fff1a6e0000 - 0x00007fff1a800000 C:\WINDOWS\System32\RPCRT4.dll
0x00007fff0ba60000 - 0x00007fff0ba69000 C:\WINDOWS\SYSTEM32\WSOCK32.dll
0x00007fff1b6a0000 - 0x00007fff1b70f000 C:\WINDOWS\System32\WS2_32.dll
0x00007fff179a0000 - 0x00007fff179d3000 C:\WINDOWS\SYSTEM32\WINMM.dll
0x00007fff11f10000 - 0x00007fff11f1a000 C:\WINDOWS\SYSTEM32\VERSION.dll
0x00007fff18de0000 - 0x00007fff18df8000 C:\WINDOWS\SYSTEM32\kernel.appcore.dll
0x00007fff03fc0000 - 0x00007fff03fca000 c:\Users\The D\.vscode\extensions\redhat.java-1.16.0-win32-x64\jre\17.0.6-win32-x86_64\bin\jimage.dll
0x00007fff174e0000 - 0x00007fff17701000 C:\WINDOWS\SYSTEM32\DBGHELP.DLL
0x00007fff11a60000 - 0x00007fff11a91000 C:\WINDOWS\SYSTEM32\dbgcore.DLL
0x00007fff1a030000 - 0x00007fff1a0af000 C:\WINDOWS\System32\bcryptPrimitives.dll
0x00007fff03d70000 - 0x00007fff03d7e000 c:\Users\The D\.vscode\extensions\redhat.java-1.16.0-win32-x64\jre\17.0.6-win32-x86_64\bin\instrument.dll
0x00007fff03800000 - 0x00007fff03825000 c:\Users\The D\.vscode\extensions\redhat.java-1.16.0-win32-x64\jre\17.0.6-win32-x86_64\bin\java.dll
0x00007fff036c0000 - 0x00007fff036d8000 c:\Users\The D\.vscode\extensions\redhat.java-1.16.0-win32-x64\jre\17.0.6-win32-x86_64\bin\zip.dll
0x00007fff1a920000 - 0x00007fff1b0e5000 C:\WINDOWS\System32\SHELL32.dll
0x00007fff17de0000 - 0x00007fff18645000 C:\WINDOWS\SYSTEM32\windows.storage.dll
0x00007fff1bb60000 - 0x00007fff1bed8000 C:\WINDOWS\System32\combase.dll
0x00007fff17c70000 - 0x00007fff17dd6000 C:\WINDOWS\SYSTEM32\wintypes.dll
0x00007fff1b1b0000 - 0x00007fff1b29a000 C:\WINDOWS\System32\SHCORE.dll
0x00007fff1c400000 - 0x00007fff1c45d000 C:\WINDOWS\System32\shlwapi.dll
0x00007fff19c60000 - 0x00007fff19c81000 C:\WINDOWS\SYSTEM32\profapi.dll
0x00007fff02a10000 - 0x00007fff02a29000 C:\Users\The D\.vscode\extensions\redhat.java-1.16.0-win32-x64\jre\17.0.6-win32-x86_64\bin\net.dll
0x00007fff13680000 - 0x00007fff13794000 C:\WINDOWS\SYSTEM32\WINHTTP.dll
0x00007fff19300000 - 0x00007fff19367000 C:\WINDOWS\system32\mswsock.dll
0x00007fff029f0000 - 0x00007fff02a05000 C:\Users\The D\.vscode\extensions\redhat.java-1.16.0-win32-x64\jre\17.0.6-win32-x86_64\bin\nio.dll
0x00007fff03cd0000 - 0x00007fff03ce0000 c:\Users\The D\.vscode\extensions\redhat.java-1.16.0-win32-x64\jre\17.0.6-win32-x86_64\bin\verify.dll
0x00007ffef4890000 - 0x00007ffef48ce000 C:\Users\The D\AppData\Roaming\Code\User\globalStorage\redhat.java\1.16.0\config_win\org.eclipse.equinox.launcher\org.eclipse.equinox.launcher.win32.win32.x86_64_1.2.700.v20221108-1024\eclipse_11801.dll
0x00007fff1c5a0000 - 0x00007fff1c73a000 C:\WINDOWS\System32\ole32.dll
0x00007fff03c60000 - 0x00007fff03c69000 C:\Users\The D\.vscode\extensions\redhat.java-1.16.0-win32-x64\jre\17.0.6-win32-x86_64\bin\management.dll
0x00007fff02e20000 - 0x00007fff02e2b000 C:\Users\The D\.vscode\extensions\redhat.java-1.16.0-win32-x64\jre\17.0.6-win32-x86_64\bin\management_ext.dll
0x00007fff1b1a0000 - 0x00007fff1b1a8000 C:\WINDOWS\System32\PSAPI.DLL
0x00007fff19560000 - 0x00007fff19578000 C:\WINDOWS\SYSTEM32\CRYPTSP.dll
0x00007fff18d40000 - 0x00007fff18d75000 C:\WINDOWS\system32\rsaenh.dll
0x00007fff19410000 - 0x00007fff19439000 C:\WINDOWS\SYSTEM32\USERENV.dll
0x00007fff19710000 - 0x00007fff19737000 C:\WINDOWS\SYSTEM32\bcrypt.dll
0x00007fff19580000 - 0x00007fff1958c000 C:\WINDOWS\SYSTEM32\CRYPTBASE.dll
0x00007fff188a0000 - 0x00007fff188cd000 C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL
0x00007fff1b8c0000 - 0x00007fff1b8c9000 C:\WINDOWS\System32\NSI.dll
0x00007fff135d0000 - 0x00007fff135e9000 C:\WINDOWS\SYSTEM32\dhcpcsvc6.DLL
0x00007fff13b30000 - 0x00007fff13b4e000 C:\WINDOWS\SYSTEM32\dhcpcsvc.DLL
0x00007fff18910000 - 0x00007fff189f8000 C:\WINDOWS\SYSTEM32\DNSAPI.dll
0x00007ffed3f40000 - 0x00007ffed3f85000 C:\Users\The D\AppData\Local\Temp\jna-80772149\jna813018904507670772.dll
0x00007ffefb350000 - 0x00007ffefb377000 C:\Users\The D\.gradle\native\e1d6ef7f7dcc3fd88c89a11ec53ec762bb8ba0a96d01ffa2cd45eb1d1d8dd5c5\windows-amd64\native-platform.dll
0x00007fff03c90000 - 0x00007fff03c9e000 C:\Users\The D\.vscode\extensions\redhat.java-1.16.0-win32-x64\jre\17.0.6-win32-x86_64\bin\sunmscapi.dll
0x00007fff19e50000 - 0x00007fff19fb2000 C:\WINDOWS\System32\CRYPT32.dll
0x00007fff196e0000 - 0x00007fff19708000 C:\WINDOWS\SYSTEM32\ncrypt.dll
0x00007fff196a0000 - 0x00007fff196d7000 C:\WINDOWS\SYSTEM32\NTASN1.dll
0x00007ffee5120000 - 0x00007ffee5128000 C:\WINDOWS\system32\wshunix.dll
dbghelp: loaded successfully - version: 4.0.5 - missing functions: none
symbol engine: initialized successfully - sym options: 0x614 - pdb path: .;c:\Users\The D\.vscode\extensions\redhat.java-1.16.0-win32-x64\jre\17.0.6-win32-x86_64\bin;C:\WINDOWS\SYSTEM32;C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.22000.120_none_9d947278b86cc467;c:\Users\The D\.vscode\extensions\redhat.java-1.16.0-win32-x64\jre\17.0.6-win32-x86_64\bin\server;C:\Users\The D\AppData\Roaming\Code\User\globalStorage\redhat.java\1.16.0\config_win\org.eclipse.equinox.launcher\org.eclipse.equinox.launcher.win32.win32.x86_64_1.2.700.v20221108-1024;C:\Users\The D\AppData\Local\Temp\jna-80772149;C:\Users\The D\.gradle\native\e1d6ef7f7dcc3fd88c89a11ec53ec762bb8ba0a96d01ffa2cd45eb1d1d8dd5c5\windows-amd64
VM Arguments:
jvm_args: --add-modules=ALL-SYSTEM --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/sun.nio.fs=ALL-UNNAMED -Declipse.application=org.eclipse.jdt.ls.core.id1 -Dosgi.bundles.defaultStartLevel=4 -Declipse.product=org.eclipse.jdt.ls.core.product -Djava.import.generatesMetadataFilesAtProjectRoot=false -Dfile.encoding=utf8 -XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx1G -Xms100m -Xlog:disable -javaagent:c:\Users\The D\.vscode\extensions\redhat.java-1.16.0-win32-x64\lombok\lombok-1.18.24.jar -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=c:\Users\The D\AppData\Roaming\Code\User\workspaceStorage\db959ee1a933431391df2d37a08e8784\redhat.java
java_command: c:\Users\The D\.vscode\extensions\redhat.java-1.16.0-win32-x64\server\plugins\org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar -configuration c:\Users\The D\AppData\Roaming\Code\User\globalStorage\redhat.java\1.16.0\config_win -data c:\Users\The D\AppData\Roaming\Code\User\workspaceStorage\db959ee1a933431391df2d37a08e8784\redhat.java\jdt_ws
java_class_path (initial): c:\Users\The D\.vscode\extensions\redhat.java-1.16.0-win32-x64\server\plugins\org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar
Launcher Type: SUN_STANDARD
[Global flags]
uintx AdaptiveSizePolicyWeight = 90 {product} {command line}
intx CICompilerCount = 3 {product} {ergonomic}
uintx GCTimeRatio = 4 {product} {command line}
bool HeapDumpOnOutOfMemoryError = true {manageable} {command line}
ccstr HeapDumpPath = c:\Users\The D\AppData\Roaming\Code\User\workspaceStorage\db959ee1a933431391df2d37a08e8784\redhat.java {manageable} {command line}
size_t InitialHeapSize = 104857600 {product} {command line}
size_t MaxHeapSize = 1073741824 {product} {command line}
size_t MaxNewSize = 357564416 {product} {ergonomic}
size_t MinHeapDeltaBytes = 524288 {product} {ergonomic}
size_t MinHeapSize = 104857600 {product} {command line}
size_t NewSize = 34603008 {product} {ergonomic}
uintx NonNMethodCodeHeapSize = 5832780 {pd product} {ergonomic}
uintx NonProfiledCodeHeapSize = 122912730 {pd product} {ergonomic}
size_t OldSize = 70254592 {product} {ergonomic}
uintx ProfiledCodeHeapSize = 122912730 {pd product} {ergonomic}
uintx ReservedCodeCacheSize = 251658240 {pd product} {ergonomic}
bool SegmentedCodeCache = true {product} {ergonomic}
size_t SoftMaxHeapSize = 1073741824 {manageable} {ergonomic}
bool UseCompressedClassPointers = true {product lp64_product} {ergonomic}
bool UseCompressedOops = true {product lp64_product} {ergonomic}
bool UseLargePagesIndividualAllocation = false {pd product} {ergonomic}
bool UseParallelGC = true {product} {command line}
Logging:
Log output configuration:
#0: stdout all=off uptime,level,tags
#1: stderr all=off uptime,level,tags
Environment Variables:
PATH=C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\System32\HWAudioDriverLibs;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\PuTTY\;C:\WINDOWS\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Git\cmd;C:\Program Files\TortoiseGit\bin;%NVM_HOME%;%NVM_SYMLINK%;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Microsoft SQL Server\150\Tools\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\dotnet\;C:\Users\The D\AppData\Local\Microsoft\WindowsApps;C:\Users\The D\AppData\Local\Programs\Microsoft VS Code\bin;C:\MinGW\bin;C:\src\flutter\bin;C:\Users\The D\AppData\Roaming\nvm;C:\Program Files\nodejs;C:\Users\The D\apache-maven-3.8.7\bin;C:\Users\The D\.dotnet\tools
USERNAME=The D
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 142 Stepping 12, GenuineIntel
TMP=C:\Users\THED~1\AppData\Local\Temp
TEMP=C:\Users\THED~1\AppData\Local\Temp
--------------- S Y S T E M ---------------
OS:
Windows 11 , 64 bit Build 22000 (10.0.22000.1516)
OS uptime: 10 days 23:52 hours
Hyper-V role detected
CPU: total 4 (initial active 4) (2 cores per cpu, 2 threads per core) family 6 model 142 stepping 12 microcode 0xde, cx8, cmov, fxsr, ht, mmx, 3dnowpref, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, lzcnt, tsc, tscinvbit, avx, avx2, aes, erms, clmul, bmi1, bmi2, adx, fma, vzeroupper, clflush, clflushopt, hv
Memory: 4k page, system-wide physical 8025M (489M free)
TotalPageFile size 23385M (AvailPageFile size 0M)
current process WorkingSet (physical memory assigned to process): 612M, peak: 612M
current process commit charge ("private bytes"): 669M, peak: 673M
vm_info: OpenJDK 64-Bit Server VM (17.0.6+10) for windows-amd64 JRE (17.0.6+10), built on Jan 18 2023 10:08:59 by "temurin" with MS VC++ 16.7 (VS2019)
END.

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save