Re: Stack size control similar to Java's -Xss
Nigel Whitaker <[email protected]> Fri, 29 Apr 2016 10:27:44 +0100
| Newsgroups | gmane.comp.java.ikvm.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Jeroen, Thanks for the advice. I’m sure I tried editbin - so I’m now embarrassed about wasting everyones time here. > On 29 Apr 2016, at 08:25, Jeroen Frijters <[email protected]> wrote: > > Hi Nigel, > > Editbin works, but you have to modify the main EXE of the process. > I was trying it on the main exe - but I may have gotten the wrong version or the command line mixed up in some way. I used dumpbin to confirm the editbin changes (the 'size of stack reserve/commit’ lines). > There is no IKVM specific way to control the stack, it's just the normal Windows stack. Understood. > If the Java code explicitly passes the stack size to the java.lang.Thread constructor, that is passed on to the .NET Thread constructor. > We don’t explicitly set the size on our Java constructor, but I’ve passed on advice about the .NET Thread constructor as an alternative to editbin. Many thanks, Nigel — Nigel Whitaker - DeltaXML Ltd - [email protected] ------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z _______________________________________________ Ikvm-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ikvm-developers