[hibernate-dev] Byte-buddy: default enhancer in 5.3 ? [HHH-11253]
Steve Ebersole
steve at hibernate.org
Wed Feb 28 09:13:07 EST 2018
I see a few (like in 3 or 4) Jiras mentioning people using Byte Buddy for
enhancement, without Byte Buddy being the reason for the issue. I cannot
speak to how widely used it is.
On Wed, Feb 28, 2018 at 7:10 AM Sanne Grinovero <sanne at hibernate.org> wrote:
> I found a couple more issues related to Byte Buddy which probably
> should be fixed before we can make it the default.
>
> I've solved the trivial ones, but there's one more problem which I
> couldn't nail down yet: the testsuite is using a significant amount of
> additional memory when all tests default to the Byte Buddy based
> enhancer: the requirements are rocketing from about 150MB to 4GB.
>
> A further complication is that for some reason Flight Recorder crashes
> when connecting to the ORM testsuite; I've tried both versions coming
> with JDK8 and JDK9 they both fail. I finally manged to get some
> recordings from CLI tools so I hope to know more soon.
>
> I also noticed that the support for
> hibernate.bytecode.provider=bytebuddy was not documented; that might
> explain some lack of feedback on such issues. Makes me think that
> maybe this wasn't tested much yet?
>
> Thanks,
> Sanne
>
>
> On 27 February 2018 at 11:13, Sanne Grinovero <sanne at hibernate.org> wrote:
> > On 23 February 2018 at 20:29, Steve Ebersole <steve at hibernate.org>
> wrote:
> >> You mean change to 5.3? +1
> >
> > Right that's what I meant. Thanks, will do!
> >
> >>
> >> On Fri, Feb 23, 2018 at 2:09 PM Sanne Grinovero <sanne at hibernate.org>
> wrote:
> >>>
> >>> HHH-11253 is about making ByteBuddy the default implementation, but
> >>> it's flagged for 6.
> >>>
> >>> I think that in Paris there was consensus to make it the default in
> >>> 5.3 alredy, to possibly drop Javassist entirely in 6.0.
> >>>
> >>> May I change this to 6 ? If that's ok, I can assign it to myself.
> >>>
> >>> Thanks,
> >>> Sanne
> >>> _______________________________________________
> >>> hibernate-dev mailing list
> >>> hibernate-dev at lists.jboss.org
> >>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>
More information about the hibernate-dev
mailing list