- 
    Type:
Enhancement
 - 
    Resolution: Delivered
 - 
    Priority:
  P3                     
     - 
    Affects Version/s: 13
 - 
    Component/s: core-svc
 
                    In the VM the attach logic sets limits on the number and types of arguments that can be received:
class AttachOperation: public CHeapObj<mtInternal> {
public:
enum {
name_length_max = 16, // maximum length of name
arg_length_max = 1024, // maximum length of argument
arg_count_max = 4 // maximum number of arguments
};
but the client tools that send these requests may include arbitrary length arguments, such as filenames, that might exceed these limits.
class AttachOperation: public CHeapObj<mtInternal> {
public:
enum {
name_length_max = 16, // maximum length of name
arg_length_max = 1024, // maximum length of argument
arg_count_max = 4 // maximum number of arguments
};
but the client tools that send these requests may include arbitrary length arguments, such as filenames, that might exceed these limits.
- relates to
 - 
                    
JDK-8336684 Enhance JCmd by adding a new command to summarize target r/t metadata
-         
     - Resolved
 
 -         
 - 
                    
JDK-8215622 Add dump to file support for jmap –histo
-         
     - Resolved
 
 -         
 - 
                    
JDK-8219721 jcmd from earlier release will hang attaching to VM with JDK-8215622 applied
-         
     - Resolved
 
 -         
 - 
                    
JDK-8352392 AIX: implement attach API v2 and streaming output
-         
     - Resolved
 
 -