1. 8
  1.  

  2. 1

    I expect Java saw a perf win because the heap is preallocated as one contiguous memory map. Many databases have a ton of different memory maps that are going to be merged and split all the time by THP, hence the recommendation to disable them.