Azure-Functions icon indicating copy to clipboard operation
Azure-Functions copied to clipboard

Java 11 use single class loader

Open amamounelsayed opened this issue 4 years ago • 3 comments

Currently for each function we created in a specific class loader. The impact Static variable appears to be difference for each function even though it's in the same class https://github.com/Azure/azure-functions-java-worker/issues/412

Motivation

What is the motivation for the change? We will need to fix the issue and have the same behavior like java 8

Impact

We do have a way to know how many java 11 users that will get impacted by this issue. The impacted users will be java 11 users that use static variables.

Compat-mode support

We will not add compact-mode support

Detection

N/A

Support

We may need to inform the support with the change and explain how azure functions behavior.

Documentation

N/A

Components impacted

Java worker

Performance

No impact

amamounelsayed avatar Jul 29 '21 01:07 amamounelsayed

PR: https://github.com/Azure/azure-functions-java-worker/pull/460

amamounelsayed avatar Sep 28 '21 21:09 amamounelsayed

PRs to host:

  • https://github.com/Azure/azure-functions-host/pull/7721
  • https://github.com/Azure/azure-functions-host/pull/7719

brettsam avatar Sep 30 '21 18:09 brettsam

I believe this is no longer an issue and has already been resolved. Or does this issue still exist?

purijatin avatar Aug 27 '22 11:08 purijatin