Commit Graph
518 Commits
Author SHA1 Message Date
DarthArgus 65a79f2c07 force memory manager to always run in production mode, thus reducing usage of memory, thus hopefully making it play nice with java 8 2016-02-24 10:05:15 -06:00
DarthArgus b86eba889f by messing with free memory and preallocating we break java 8...so we'll fix it 2016-02-23 22:09:52 -06:00
DarthArgus 2a388362d6 permgen was 64mb so we'll set that for metaspace too 2016-02-23 18:36:59 -06:00
DarthArgus bf626d68e4 default trap script errors to false as they tend to crash the newer javas at the moment 2016-02-19 19:16:07 -06:00
DarthArgus fe09cb38c1 add the javaUseXcheck option to ServerGame to allow for use of the jni linting/checking system, which spams shitloads of output 2016-02-19 19:01:21 -06:00
DarthArgus d3666f0fa3 ok this plus (potentially) the removal of those flags makes it work 2016-02-19 18:40:46 -06:00
DarthArgus 467c73574e undo the "brackets mothafucka" commit as this should probably still be proper 2016-02-19 18:24:46 -06:00
DarthArgus 756c4744f5 re-remove these from 7/8 2016-02-19 18:20:35 -06:00
DarthArgus 3984be6ff0 brackets mothafucka! 2016-02-19 16:51:21 -06:00
DarthArgus be3df7efda this fixes one problem, but we still run into the issue with addAllIfNotPresent 2016-02-19 14:30:32 -06:00
DarthArgus 9393e6e7af another flint detected issue - init to 0 instead of with ourselves 2016-02-18 23:40:07 -06:00
DarthArgus 877d0a9b62 flint++ static analyzer detected items (not all that were likely legit positives, but a start) as well as some clang detected unused vars, cleanup_ 2016-02-18 22:55:54 -06:00
DarthArgus aa891e3d8c null -> nullptr conversion i missed 2016-02-18 10:41:03 -06:00
DarthArgus 920e8e658d this warning is annoying and likely just a remnant of the japanese language version of the game - we can fix all the warned creatures if we turn it on, log them, and edit a custom creature_names file, but for now let's skip it 2016-02-15 11:48:37 -06:00
DarthArgus 6373cf6d74 in theory this should allow for backward compatibility with the old busted IBM java 1.4, and any other 1.4 java, and above...testers welcome but i prefer to use 1.8 from now on 2016-02-15 00:38:32 -06:00
DarthArgus 752347bc4b Merge branch 'testing' of stellabellum.net:staff/src into newjava 2016-02-15 00:06:43 -06:00
DarthArgus 6bb5137dc4 set mem manager upper limit to more sane value 2016-02-14 23:51:32 -06:00
DarthArgus c22a458c9f set mem manager upper limit to more sane value 2016-02-14 23:51:10 -06:00
DarthArgus f70229a178 set metaspace size properly for java 8 and above - otherwise you'll run out of ram and crash 2016-02-14 12:27:12 -06:00
DarthArgus dd9db6d350 Revert "Revert "newer standards prefer nullptr over NULL - this is most of them but there are others too""
This reverts commit 8e2160f33e.
2016-02-11 21:19:18 -06:00
DarthArgus 8e2160f33e Revert "newer standards prefer nullptr over NULL - this is most of them but there are others too"
This reverts commit 3e4cc36e7e.
2016-02-11 19:44:31 -06:00
DarthArgus 3e4cc36e7e newer standards prefer nullptr over NULL - this is most of them but there are others too 2016-02-11 15:16:14 -06:00
DarthArgus a7f2d0ea6a the code for trapping script crashes breaks things, apparently... TODO: maybe find the new/proper way to do this since it's kinda important, or just fix our scripts and have no need for crashes 2016-02-10 16:25:02 -06:00
DarthArgus 6e893ad8c8 cmake's still not always respecting JAVA_HOME 2016-02-10 10:19:08 -06:00
DarthArgus 090aaeb2ce add optional java 9 support 2016-02-10 09:36:25 -06:00
DarthArgus 66904dc582 to the shitcan with flags that break things 2016-02-09 19:57:22 -06:00
DarthArgus 76493024cf update note, java should in theory just die on it's own because the kernel apparently will kill itw 2016-02-09 19:04:54 -06:00
DarthArgus 845cc34680 some style and logic cleanups that were annoying me 2016-02-09 17:36:47 -06:00
DarthArgus f1c197e700 Remove code that seems to be unnecessary now that we no longer use stlport 2016-02-09 17:32:47 -06:00
DarthArgus b123c482e6 remove the def once we're done 2016-02-09 11:36:34 -06:00
DarthArgus b4bc995250 TESTING (but seems to be fine): slight cleanup, allow for using "oracle" or "sun" interchangably in config, force use of JNI 1.4 or better since nobody uses java 1.2 or 1.3 for this anyway 2016-02-09 11:30:53 -06:00
DarthArgus 150c0f4894 redo last commit properly 2016-02-08 17:00:40 -06:00
DarthArgus 946cddb179 Revert "actually this should be in release and debug"
This reverts commit fc9c045e53.
2016-02-08 17:00:25 -06:00
DarthArgus fc9c045e53 actually this should be in release and debug 2016-02-08 16:52:22 -06:00
DarthArgus 267535648d fix potential memory leak on release builds - although the macro here may already terminate before releasing 2016-02-08 16:42:14 -06:00
DarthArgus 577e5b5b06 remove some unnecessary code 2016-02-07 23:26:14 -06:00
DarthArgus 93652cc857 add a couple more search paths to FindJNI 2016-02-06 09:03:09 +00:00
DarthArgus ee39c02904 hopefully not breaking on 32 2016-02-06 03:31:56 +00:00
DarthArgus 532dfb4a09 use march and mtune native 2016-02-05 14:33:31 -06:00
DarthArgus dbc33762c6 remove another codegen directory as it appears unused; it's generated
files are already in git
2016-02-03 16:55:36 -06:00
DarthArgus dd269f3743 Merge branch 'master' into testing 2016-02-03 16:52:08 -06:00
DarthArgus 07eed4fc2c remove unused codegen dir 2016-02-03 16:51:56 -06:00
DarthArgus 4c03d5eec1 Revert "bump up the maximum/initial jvm stack limits since we have PAE - 32 bit java seems limited to 2GB max"
This reverts commit 77661f7480.
2016-02-03 13:58:03 -06:00
DarthArgus 77661f7480 bump up the maximum/initial jvm stack limits since we have PAE - 32 bit java seems limited to 2GB max 2016-02-03 12:09:37 -06:00
DarthArgus 10e3ca6a11 remove commented code that isn't used in orig leak either 2016-02-03 11:11:34 -06:00
DarthArgus 97feb98d31 i think this bit was ok and it was a false positive - someone prove me wrong if you think otherwise 2016-02-03 02:11:30 -06:00
DarthArgus adf7f67682 fix some cppcheck detected (potential) issues 2016-02-03 02:00:56 -06:00
DarthArgus 095ef804c4 use c++14 2016-02-03 01:10:22 -06:00
DarthArgus bfb764ce16 proper scoping 2016-02-01 11:11:32 -06:00
DarthArgus 77ae27abca Merge branch 'testing' of git.stellabellum.net:staff/src into testing 2016-01-31 22:47:56 -06:00