equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
33 #include <windows.h> |
33 #include <windows.h> |
34 #else |
34 #else |
35 #include <pthread.h> |
35 #include <pthread.h> |
36 #endif |
36 #endif |
37 |
37 |
38 #include "prims/jni.h" |
38 #include "jni.h" |
39 #include "unittest.hpp" |
39 #include "unittest.hpp" |
40 |
40 |
41 // Default value for -new-thread option: true on AIX because we run into |
41 // Default value for -new-thread option: true on AIX because we run into |
42 // problems when attempting to initialize the JVM on the primordial thread. |
42 // problems when attempting to initialize the JVM on the primordial thread. |
43 #ifdef _AIX |
43 #ifdef _AIX |
317 run_in_new_thread(&args); |
317 run_in_new_thread(&args); |
318 } else { |
318 } else { |
319 runUnitTestsInner(argc, argv); |
319 runUnitTestsInner(argc, argv); |
320 } |
320 } |
321 } |
321 } |
322 |
|