Skip Navigation
JIT Hiccup in DotNet 8.0
github.com GitHub - MB512/CSJitHiccup: Demo Project for a JIT hiccup in DotNet 8.0

Demo Project for a JIT hiccup in DotNet 8.0. Contribute to MB512/CSJitHiccup development by creating an account on GitHub.

GitHub - MB512/CSJitHiccup: Demo Project for a JIT hiccup in DotNet 8.0

Hi everyone,

i have a strange behaviour of the JIT in DotNet 8.0.

I have created a small demo project (on GitHub)

The crashing code is not verry complex. It is contained in a Cpp-Library compiled to DotNet-IL (managed C++). It is just doing some basic double math with a pow().

I can work arraund this problem by slightly changing the code but that is not satisfying. I whant to understand what i am doing wrong in c++ or if there is a bug in the JIT compiler or C++ compiler.

The code is working in a debug build and even the first 1000+ calls in a release build are working fine. At the point the Jit compiles the method again in stage 2 with full optimization the code starts crashing.

The crashing code is wrapped in a Try-Catch in the CS-Console project.

When setting a break point in the release build (after the first exception) to inspect the situation everything runs perfectly. Even after removint the break point and continue the execution the code runs fine.

Would be really nice if some one can help me with this.

Thanks in advanced!

2
What to buy?
  • I don't mind spending some time tweaking the printer but I would tend to it should work!

    Open source and upgradable would be great.

    Price range is 800-1500€

    I don't know exactly what I'm going to print but it would be more functional than beautiful I guess ;)

    Currently I think I will by a Prusa MK4 maybe even as a build kit.

  • What to buy?

    <TLDR> • Experience: none • Size: > 20x20x20 cm • Price Range: 800-1500€ • Print Medium: PLA </TLRD>

    Hi all! I would like to join the group of 3D printer owners but I don't have any experience. I don't want to buy a cheap printer just to find myself buying a better one in a few months so I set my price in the middle segment (I think).

    I am going to set it up in my office which has AC but direct sun light for some hours a day. Is a full case recommended?

    What printer can you recommend for me and what software (windows) can I use to design and print some parts?

    If you need any more info please let me know.

    Kind regards in anvance

    38
    InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)MB
    MBitter @feddit.de
    Posts 2
    Comments 1