Please ignore this patch. I will be sending new version of it that is easier to review.
On Mon, Jan 20, 2020 at 11:06 Waldek Kozaczuk <[email protected]> wrote: > For what it is worth I did enable the ballon logic by uncommenting the #if > in java.cc and simple java-example worked. But I do not think that > balllooning really works given it was commented for a reason. > > Waldek > > Sent from my iPhone > > > On Jan 19, 2020, at 16:16, Pekka Enberg <[email protected]> wrote: > > > > (Add osv-dev back to CC...) > > > >> On Sun, Jan 19, 2020 at 11:16 PM Pekka Enberg <[email protected]> > wrote: > >> > >>> On Sun, Jan 19, 2020 at 8:34 AM Waldemar Kozaczuk < > [email protected]> wrote: > >>> > >>> The main motivation of this patch is to eliminate compile time > >>> dependencies in kernel on JDK headers. It achieves it by moving > >>> java balloon shrinker implementation that requires java headers > >>> to compile from kernel (java/jvm) to modules/java-base. > >>> > >>> Given that kernel code in mmu, mempool and mman depended on > >>> jvm_balloon_shrinker directly, it was necessary to create new > abstraction/interface - > >>> jvm_balloon_api (class with pure virtual methods) - which kernel code > >>> would use to interact with jvm balloon code if enabled. The code > >>> moved from java/jvm to modules/java-base/balloon would provide > >>> implementation of jvm_balloon_api hiding all direct interaction with > >>> JNI (Java Native Interface). > >>> > >>> Signed-off-by: Waldemar Kozaczuk <[email protected]> > >> > >> Acked-by: Pekka Enberg <[email protected]> > -- You received this message because you are subscribed to the Google Groups "OSv Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/osv-dev/CAL9cFfMDiFK2%2BEbyiwfU9VA6pYPpnCVvrONajTo%3D1BxBJe03mQ%40mail.gmail.com.
