-
Bug
-
Resolution: Fixed
-
P4
-
25
-
b13
-
generic
-
linux
SIZE_FORMAT_HEX macro undefined in test/hotspot/gtest/runtime/test_virtualMemoryTracker.cpp.
The SIZE_FORMAT_HEX macro should be replace as "0x%zx" instead.
How to reproduce the undefined compile error:
Uncomment the line '// #define LOG(...) printf(__VA_ARGS__); printf("\n"); fflush(stdout);' and comment the line '#define LOG(...)', and then make:
bash configure --with-gtest=/home/yansendao/git/googletest-v1.14.x --with-extra-cflags="-DLOG_PLEASE" --with-extra-cxxflags="-DLOG_PLEASE" --with-debug-level=fastdebug
time make CONF=linux-x86_64-server-fastdebug LOG=trace images test-image &> build/make.log
How to run the gtest test:
./build/linux-x86_64-server-release/images/test/hotspot/gtest/server/gtestLauncher -jdk build/linux-x86_64-server-release/images/jdk/ --gtest_filter=NMT*:os* -XX:NativeMemoryTracking=detail &> gtest.log
The SIZE_FORMAT_HEX macro should be replace as "0x%zx" instead.
How to reproduce the undefined compile error:
Uncomment the line '// #define LOG(...) printf(__VA_ARGS__); printf("\n"); fflush(stdout);' and comment the line '#define LOG(...)', and then make:
bash configure --with-gtest=/home/yansendao/git/googletest-v1.14.x --with-extra-cflags="-DLOG_PLEASE" --with-extra-cxxflags="-DLOG_PLEASE" --with-debug-level=fastdebug
time make CONF=linux-x86_64-server-fastdebug LOG=trace images test-image &> build/make.log
How to run the gtest test:
./build/linux-x86_64-server-release/images/test/hotspot/gtest/server/gtestLauncher -jdk build/linux-x86_64-server-release/images/jdk/ --gtest_filter=NMT*:os* -XX:NativeMemoryTracking=detail &> gtest.log
- links to
-
Commit(master) openjdk/jdk/b29f8b04
-
Review(master) openjdk/jdk/23778