langtools/src/jdk.compiler/share/classes/com/sun/tools/sjavac/server/SysInfo.java
equal
deleted
inserted
replaced
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; |