JVM crashes or gets stuck in a tight loop when it encounters a nullified page in its heap

Solution Verified - Updated -

Issue

When Transparent Huge Pages (THP) are enabled JVM will either crash or gets stuck in a tight loop when it encounters a nullified page in its heap. The corruption starts at a 1MB heap segment boundary and usually means 1 page at the segment start is nullified. The problem disappears when THP is disabled.

Environment

  • Red Hat Enterprise Linux 7.6
  • detected on IBM z Series / s390x architecture, but affects all architectures
  • JVM or SAP JVM
  • Transparent Huge Pages (THP) enabled

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content