Are there security/performance issues with backporting Java code from 1.8 to 1.5? -
i understand older jvms may have security/performance issues, question isn't jvm itself. possible introduce security/performance issues code written java 1.8, later backported 1.5 because of conversion process itself?
i didn't find many people discussing this, did find comments in blog of author of java 8 lambda backporting tool guesses backporting lambda expressions may increase performance slightly.
here can find benchmark comparing jvm 1.6 7 , 8. have excerpt here:
my observations:
on biggest dataset (machine reassignment b10), dwarfs of other datasets in size, java 8 20% faster java 7, 17% faster java 6.
in cases, java 8 slower java 7. specially course scheduling datasets, java 8 6% slower java 7. new releases of java 8 resolve performance regression soon.
on average, java 8 1% faster java 7. while java 7 16% faster java 6.
despite first final release of openjdk 8, did not find regressions in java 8. optaplanner’s examples 100% reproducible, expected, different jre’s give exact same results @ every single iteration.
it looks java 8 bit faster 6, , can assume java 1.5 slower java 6.
as question security, have no idea. have never used java ee or spring, or else needed security matter.
Comments
Post a Comment