RFR: 8178495: Bug in the align_size_up_ macro

Kim Barrett kim.barrett at oracle.com
Thu Jun 29 22:46:16 UTC 2017


> On Jun 29, 2017, at 6:04 PM, Kim Barrett <kim.barrett at oracle.com> wrote:
> test/native/utilities/test_align.cpp 
>  56 template <typename T, typename A>
>  57 static void test_alignments() {
>  ...
> and
> 117 TEST(Align, functions_and_macros) {
> ... calls to test_alignments for various types.
> 
> I keep meaning to find out if we support Google Test's "Typed Tests" [1],
> and if not, try to figure out how hard it would be to change that.
> 
> [1] https://github.com/google/googletest/blob/master/googletest/docs/AdvancedGuide.md
> Search for "Typed Tests”.

Without Typed Tests, the SCOPED_TRACE macro might be useful to improve
the reporting, and might might eliminate the need for some of the logging.



More information about the hotspot-dev mailing list