-
Notifications
You must be signed in to change notification settings - Fork 78
C2ME Port #471
base: staging/1.16.5
Are you sure you want to change the base?
C2ME Port #471
Conversation
3b593e6
to
f01cf25
Compare
Just a note: Java 11 or higher is required to run this PR as C2ME takes advantage of features only found in java 11 or higher. Since 49.4% (at the time of writing this comment) of servers use java 8, some decisions are going to have to be made on how to proceed with this PR. |
Ok, the port is complete and everything is in place. A decision just needs to be made on how we're going to handle the new java version requirement. |
97bc841
to
ef9ed2f
Compare
cf01149
to
326813e
Compare
A possible solution is to port it to java8 and remove the patch when Yatopia is updated to 1.17
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. I'll do testing soon.
Also, we could use java 11, but if java 8 is detected, it will download java 11 and use that. |
3c0682f
to
2372955
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This code works, if we are going to migrate to Java 11
fd74d8f
to
74c4554
Compare
(supersedes #375)
Here are some performance numbers: (retested by ishland)
JVM Flags:
-Xms12G -Xmx12G -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+AlwaysPreTouch -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:MaxTenuringThreshold=1 -Ddebug.rewriteForIde=true -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true
JVM:
GraalVM 21.0.0.2 with Java11
ver/1.16.5
(main branch) (radius: 2048):commit:
8d157f9be64fba5adb8d202417b3f8c80adb2c5a
C2ME Port (parallelism: 8 allow-threaded-features: true) (radius: 4096):
commit:
2ee8c246065be9980d5484ed561d7a3c0ec07a45
C2ME Port (parallelism: 8 allow-threaded-features: false) (radius: 4096):
commit:
2ee8c246065be9980d5484ed561d7a3c0ec07a45
Old Threaded Worldgen Branch* (2 featuregen threads, 6 worldgen threads) (radius: 4096):
commit:
8e6a62ab90c9afeaeee2f49cca26f5ce264acb6d
*This PR is way more safer than Threaded Worldgen, fixing a lot of the issues people reported with #375.