Print this page
rev 6864 : 8061651: Interface to the Lookup Index Cache to improve URLClassPath search time
Summary: Implemented the interface in sun.misc.URLClassPath and corresponding JVM_XXX APIs
Reviewed-by: mchung, acorn, jiangli, dholmes

Split Split Close
Expand all
Collapse all
          --- old/src/share/vm/memory/metaspaceShared.hpp
          +++ new/src/share/vm/memory/metaspaceShared.hpp
↓ open down ↓ 24 lines elided ↑ open up ↑
  25   25  #define SHARE_VM_MEMORY_METASPACE_SHARED_HPP
  26   26  
  27   27  #include "memory/allocation.hpp"
  28   28  #include "memory/memRegion.hpp"
  29   29  #include "runtime/virtualspace.hpp"
  30   30  #include "utilities/exceptions.hpp"
  31   31  #include "utilities/macros.hpp"
  32   32  
  33   33  #define LargeSharedArchiveSize    (300*M)
  34   34  #define HugeSharedArchiveSize     (800*M)
  35      -#define ReadOnlyRegionPercentage  0.4
  36      -#define ReadWriteRegionPercentage 0.55
  37      -#define MiscDataRegionPercentage  0.03
       35 +#define ReadOnlyRegionPercentage  0.39
       36 +#define ReadWriteRegionPercentage 0.50
       37 +#define MiscDataRegionPercentage  0.09
  38   38  #define MiscCodeRegionPercentage  0.02
  39   39  #define LargeThresholdClassCount  5000
  40   40  #define HugeThresholdClassCount   40000
  41   41  
  42   42  #define SET_ESTIMATED_SIZE(type, region)                              \
  43   43    Shared ##region## Size  = FLAG_IS_DEFAULT(Shared ##region## Size) ? \
  44   44      (uintx)(type ## SharedArchiveSize *  region ## RegionPercentage) : Shared ## region ## Size
  45   45  
  46   46  class FileMapInfo;
  47   47  
↓ open down ↓ 90 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX