Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[For discussion] Memory management: Disable JIT compilation #1678

Open
wants to merge 42 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
975b73e
Fixed deb package
Jun 17, 2018
41ba39f
Fixed deb package
Jun 17, 2018
03affc4
Fixed deb package
Jun 17, 2018
750a9a1
- OSX: Build instruction
Nov 25, 2018
0f897b5
Merge
Nov 25, 2018
6eb000a
Fixed maven build
Nov 25, 2018
c4de66c
Fixed maven build
Nov 25, 2018
ab3010e
Fixed conflict
Nov 26, 2018
ddee090
Removed ressource
Nov 26, 2018
a3fd024
Merge branch 'master' of https://github.com/PhoenicisOrg/phoenicis
Dec 2, 2018
0e43247
Travis: Build OSX packages
Dec 2, 2018
e579cab
Fix whitespace
Dec 2, 2018
e3ed43f
Fix conflict
Dec 2, 2018
8711631
Fixed merge issue
Dec 2, 2018
9b5df94
Merge branch 'master' of https://github.com/PhoenicisOrg/phoenicis
Dec 2, 2018
c48aed2
Merge branch 'master' of https://github.com/PhoenicisOrg/phoenicis
Dec 18, 2018
e33fbec
Merge branch 'master' of https://github.com/qparis/phoenicis
Dec 27, 2018
39b8ecc
Merge branch 'master' of https://github.com/PhoenicisOrg/phoenicis
Dec 27, 2018
e7a733d
IntelliJ: Added a precision that could save troubles to many people
Dec 27, 2018
3c0f69d
Create package: Update for debian
Dec 29, 2018
447917c
Create package: Update for debian
Dec 29, 2018
f707d76
Create package: Update for debian
Dec 29, 2018
af2f733
Create package: Update for debian
Dec 29, 2018
c81d2c7
Create package: Update for debian
Dec 29, 2018
83ca58c
Create package: Update for debian
Dec 29, 2018
c1e11b3
Create package: Update for debian
Dec 29, 2018
554125a
Create package: Update for debian
Dec 29, 2018
7c96fae
Create package: Update for debian
Dec 29, 2018
3c8e6ba
Fixed conflict
Dec 29, 2018
d17e817
Delete keys.pot
qparis Dec 29, 2018
2b7074d
Revert "Delete keys.pot"
Dec 29, 2018
477b0cd
Rollback keys.pot
Dec 30, 2018
abe54d3
Updated icons
Dec 30, 2018
feea98d
Updated shortcuts
Dec 30, 2018
2981fe5
Fixed shortcuts
Dec 30, 2018
b0b0f50
Fixed category's name
Dec 30, 2018
a449125
Package: Make JVM more agressive about memory management
Dec 30, 2018
a4417bf
Package: Make JVM more agressive about memory management
Dec 30, 2018
8722ee9
Keep this for another ticket
Dec 30, 2018
c833516
Memory management improvement
Dec 30, 2018
8b7433a
Merge branch 'master' of https://github.com/PhoenicisOrg/phoenicis
Dec 30, 2018
d446610
JVM args
Dec 30, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions phoenicis-dist/src/scripts/phoenicis-create-package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ fi
PHOENICIS_TARGET="$SCRIPT_PATH/../../target"
PHOENICIS_JPACKAGER="$SCRIPT_PATH/../../target/jpackager"
PHOENICIS_RESOURCES="$SCRIPT_PATH/../resources"
PHOENICIS_JVM_ARGS="-Xint -XX:+UseG1GC -XX:MaxHeapFreeRatio=10 -XX:MinHeapFreeRatio=5 -XX:-ShrinkHeapInSteps -Xmx950m -Xms32m -Xss196k"
PHOENICIS_MODULES="java.base,javafx.base,javafx.media,javafx.graphics,javafx.controls,java.naming,java.sql,java.scripting,jdk.scripting.nashorn"
PHOENICIS_JPACKAGER_ARGUMENTS=("-i" "$PHOENICIS_TARGET/lib" "--main-jar" "phoenicis-javafx-$VERSION.jar" "-n" "$PHOENICIS_APPTITLE" "--output" "$PHOENICIS_TARGET/packages/" "--add-modules" "$PHOENICIS_MODULES" "-p" "$PHOENICIS_TARGET/lib/" "--version" "$VERSION")

PHOENICIS_JPACKAGER_ARGUMENTS=("-i" "$PHOENICIS_TARGET/lib" "--jvm-args" "$PHOENICIS_JVM_ARGS" "--main-jar" "phoenicis-javafx-$VERSION.jar" "-n" "$PHOENICIS_APPTITLE" "--output" "$PHOENICIS_TARGET/packages/" "--add-modules" "$PHOENICIS_MODULES" "-p" "$PHOENICIS_TARGET/lib/" "--version" "$VERSION")

_download_jpackager() {
mkdir -p "$PHOENICIS_JPACKAGER"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ public ControlledThreadPoolExecutorService scriptExecutorService() {

@Bean
public ControlledThreadPoolExecutorService appsExecutorService() {
return new ControlledThreadPoolExecutorService("Apps", 1, 1);
return new ControlledThreadPoolExecutorService("Apps", 2, 1);
}

@Bean
public ControlledThreadPoolExecutorService containersExecutorService() {
return new ControlledThreadPoolExecutorService("Containers", 1, 5);
return new ControlledThreadPoolExecutorService("Containers", 2, 5);
}

@Bean
Expand Down