Integrated: 8267926: AsyncLogGtest.java fails on assert with: decorator was not part of the decorator set specified at creation.

Xin Liu xliu at openjdk.java.net
Mon Jun 7 10:23:08 UTC 2021


On Fri, 28 May 2021 22:15:14 GMT, Xin Liu <xliu at openjdk.org> wrote:

> The root cause of the intermittent failure is that _decorators in LogDecorations 
> may be inconsistent with LogOutput::_decorators. It could happen when gtest disables a
> Log output via set_log_config(TestLogFileName, "all=off").
> 
> Since we copy the entire logDecorations, it's reasonable to copy _decorator as well. 
> LogDecorator is a bitmask of uint. It's even smaller than a reference on LP64 platforms.

This pull request has now been integrated.

Changeset: b09d8b98
Author:    Xin Liu <xliu at openjdk.org>
Committer: David Holmes <dholmes at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/b09d8b9800329f946df80026d61cd4abf41cff37
Stats:     3 lines in 2 files changed: 0 ins; 1 del; 2 mod

8267926: AsyncLogGtest.java fails on assert with: decorator was not part of the decorator set specified at creation.

Reviewed-by: dholmes, phh

-------------

PR: https://git.openjdk.java.net/jdk/pull/4257


More information about the hotspot-runtime-dev mailing list