Project

General

Profile

« Previous | Next » 

Revision 8ae14d10

Added by Andreas Kohlbecker 5 months ago

removing jdk 7 stuff from memory service

View differences:

src/main/webapp/manage/MemoryService.jsp
19 19
    Bootloader bootloader = Bootloader.getBootloader();
20 20
    Long recommendedMinimumHeap = bootloader.getInstanceManager().recommendedMinimumSpace(AssumedMemoryRequirements.HEAP_CDMSERVER, AssumedMemoryRequirements.HEAP_PER_INSTANCE, null);
21 21
    Long recommendedMinimumPermGenSpace = null;
22
    if(JvmManager.getJvmVersion() == 7){
23
        recommendedMinimumPermGenSpace = bootloader.getInstanceManager().recommendedMinimumSpace(AssumedMemoryRequirements.PERM_GEN_SPACE_CDMSERVER, AssumedMemoryRequirements.PERM_GEN_SPACE_PER_INSTANCE, null);
24
    } 
25 22
    
26 23
    ObjectMapper jsonMapper = new ObjectMapper();
27 24

  

Also available in: Unified diff