langtools/src/jdk.compiler/share/classes/com/sun/tools/sjavac/server/SysInfo.java
changeset 26107 a4a156a33c94
parent 26098 32588700060b
parent 25874 83c19f00452c
equal deleted inserted replaced
25876:d06a6d3c66c0 26107:a4a156a33c94
     1 /*
     1 /*
     2  * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    32  * risk.  This code and its internal interfaces are subject to change
    32  * risk.  This code and its internal interfaces are subject to change
    33  * or deletion without notice.</b></p>
    33  * or deletion without notice.</b></p>
    34  */
    34  */
    35 package com.sun.tools.sjavac.server;
    35 package com.sun.tools.sjavac.server;
    36 
    36 
    37 public class SysInfo {
    37 import java.io.Serializable;
       
    38 
       
    39 /**
       
    40  *  <p><b>This is NOT part of any supported API.
       
    41  *  If you write code that depends on this, you do so at your own risk.
       
    42  *  This code and its internal interfaces are subject to change or
       
    43  *  deletion without notice.</b>
       
    44  */
       
    45 public class SysInfo implements Serializable {
       
    46 
       
    47     static final long serialVersionUID = -3096346807579L;
       
    48 
    38     public int numCores;
    49     public int numCores;
    39     public long maxMemory;
    50     public long maxMemory;
    40 
    51 
    41     public SysInfo(int nc, long mm) {
    52     public SysInfo(int nc, long mm) {
    42         numCores = nc;
    53         numCores = nc;