RFR (XL) 8046070 - Class Data Sharing clean up and refactoring, round #3

Jiangli Zhou jiangli.zhou at oracle.com
Mon Aug 11 18:01:03 UTC 2014


Hi David,

On 08/10/2014 07:16 PM, David Holmes wrote:
>
> src/share/vm/runtime/arguments.cpp
>
> 3340 // This causes problems with CDS, which requires that all 
> directories specified in the classpath
> 3341 // must be empty.
>
> Should that be "must not be empty"? Or did you mean directory names?
>
That comments are correct. In CDS, we don't support non-empty 
directories. In general CDS do not support archiving classes from 
directories. Only classes from JAR files can be archived. That's way 
path checking only allow empty directories in the class paths.

Thanks,
Jiangli


More information about the hotspot-runtime-dev mailing list