Value Types - Meet some issues during execution

GIACHERIO Fabien f.giacherio at gmail.com
Fri Oct 21 12:48:15 UTC 2016


Hi everyone,

I am currently working on value types and I am trying to execute an example.
I can compile the class below but I meet some issues when I try to execute
it even if I add these arguments :
-noverify
-XX:-TieredCompilation
-XX:-BackgroundCompilation
-XX:-UseOnStackReplacement
-XX:CompileCommand=compileonly,Point::*
-XX:+PrintCompilation

Do you have any solution ? If so, would you tell me please.

Here is my code :
__ByValue final class Point{
    final int x;
    final int y;

    private Point(int x, int y) {
        this.x = x;
        this.y = y;
    }

    public static void hello() {
        Point origin = __Make Point(1,2);
    }

    public static void main(String[] args) {
        hello();
    }
}

Best Regards,
Fabien GIACHERIO.


More information about the valhalla-dev mailing list