Skip to content

Conversation

@beikov
Copy link
Member

@beikov beikov commented Sep 9, 2025

[Please describe here what your change is about]


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license
and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion.
For more information on licensing, please check here.


https://hibernate.atlassian.net/browse/HHH-19758
https://hibernate.atlassian.net/browse/HHH-19240

@beikov beikov force-pushed the HHH-19240 branch 2 times, most recently from 004f726 to 03ea090 Compare September 29, 2025 14:09
if ( snapshotter == null ) {
snapshotter = GlobalMemoryUsageSnapshotter.getInstance();
}
SNAPSHOTTER = snapshotter;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might be useful to log which snapshotter implementation is selected, in case one proves more prone to failures than others.

System.out.println("MemoryUsageUtil: Using " + snapshotter.getClass().getSimpleName());

@beikov beikov merged commit 411bae9 into hibernate:main Nov 12, 2025
26 of 27 checks passed
@beikov beikov deleted the HHH-19240 branch November 12, 2025 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants